cameronnat Posted September 10, 2006 Share Posted September 10, 2006 I am such a noob with php. I'm trying to install a plugboard onto my website. I've uploaded the files onto my server and have changed the CHMOD on the files I was supposed to. I've even gotten into the admin section through my browser. I cannot get it to appear on the page. I know it's something silly that my brain has missed but here is what I've done.[code]<html><head><title>My first PHP Page</title></head><body>This is normal HTML code<?php include('/plugbox1.0/plug.php');?>Back into normal HTML</body></html>[/code]Shouldn't there be a a code BEFORE the html to cache the php? Sorry :( Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/ Share on other sites More sharing options...
AndyB Posted September 10, 2006 Share Posted September 10, 2006 Did you save that example code with a .php extension or as an html file? Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89342 Share on other sites More sharing options...
cameronnat Posted September 10, 2006 Author Share Posted September 10, 2006 here is the page:http://nathaliesdream.com/plugyoursite.php Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89430 Share on other sites More sharing options...
rallokkcaz Posted September 10, 2006 Share Posted September 10, 2006 it looks like youve got some problems with the code?post it Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89435 Share on other sites More sharing options...
onlyican Posted September 10, 2006 Share Posted September 10, 2006 I dont think php works with / being the root Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89440 Share on other sites More sharing options...
cameronnat Posted September 10, 2006 Author Share Posted September 10, 2006 it was a dl that I got from here:[url=http://www.lissaexplains.com/plugboard/redirect.php?link=plugbox1.0]http://www.lissaexplains.com/plugboard/redirect.php?link=plugbox1.0[/url] Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89441 Share on other sites More sharing options...
cameronnat Posted September 10, 2006 Author Share Posted September 10, 2006 yeah I had the full url but it didn't work that way either Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89442 Share on other sites More sharing options...
cameronnat Posted September 10, 2006 Author Share Posted September 10, 2006 So uh nothing? Nobody knows why this won't work for me? Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89528 Share on other sites More sharing options...
cameronnat Posted September 11, 2006 Author Share Posted September 11, 2006 So does anybody know a code that DOES work for a plugboard? Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89764 Share on other sites More sharing options...
cameronnat Posted September 11, 2006 Author Share Posted September 11, 2006 Ahhhhh, okay I've gotten another script. I uploaded the files and changed to CHMOD and the config but I'm getting this error:[quote]Warning: file() [function.file]: Unable to access plug.db.php in /misc/24/163/230/777/user/web/nathaliesdream.com/linkdump/plug.php on line 103Warning: file(plug.db.php) [function.file]: failed to open stream: No such file or directory in /misc/24/163/230/777/user/web/nathaliesdream.com/linkdump/plug.php on line 103[/quote] Link to comment https://forums.phpfreaks.com/topic/20293-complete-noob/#findComment-89786 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.