Warning: [function.include] :/
Posted 09 August 2006 - 05:51 PM
I have just got the below error, I ahve never come accross thiss before
I used this the other day but now it doesn't seem to work :/
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 105
Warning: 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
Posted 10 August 2006 - 01:20 AM
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.
Posted 10 August 2006 - 01:28 AM
$terms = accept;
$register = true;
and make sure that in register php that $terms and $register are exactly that NOT $_GET['terms'] etc....
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users