Jump to content


Warning: [function.include] :/

  • Please log in to reply
2 replies to this topic

#1 xyn

  • Members
  • PipPipPip
  • Advanced Member
  • 779 posts
  • LocationNorthampton

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&register=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&register=true' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in public_html/en/index.php on line 105

#2 hitman6003

  • Members
  • PipPipPip
  • Advanced Member
  • 1,807 posts

Posted 10 August 2006 - 01:20 AM

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.

#3 ToonMariner

  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

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....

follow me on twitter @PHPsycho

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users