xyn Posted August 9, 2006 Share Posted August 9, 2006 Hii,I have just got the below error, I ahve never come accross thiss beforeI used this the other day but now it doesn't seem to work :/error:Warning: include(register.php?terms=accept®ister=true) [function.include]: failed to open stream: No such file or directory in /home/eumod/public_html/en/index.php on line 105Warning: include() [function.include]: Failed opening 'register.php?terms=accept®ister=true' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in public_html/en/index.php on line 105 Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted August 10, 2006 Share Posted August 10, 2006 it means exactly what it says...When you use include, it opens the file and reads the contents...the php intrepreter reads them just the same as if you had typed them in the including script...as opposed to the file functions which allow you to manipulate the data retrieved.What the error is saying is that php can not open the file...which isn't a file at all in your usage...it's a url. So, if that url doesn't exist, then it can't open it. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted August 10, 2006 Share Posted August 10, 2006 try...$terms = accept;$register = true;include('register.php');and make sure that in register php that $terms and $register are exactly that NOT $_GET['terms'] etc.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.