View previous topic :: View next topic |
Author |
Message |
raven -
Joined: 16 Jun 2003 Posts: 2
|
Posted: Mon Jun 16, 2003 3:32 pm Post subject: php error |
|
|
hi i installed php and used this code <?php include ("$page"); ?> to show my content on my site in the spot i wanted it to but i keep getting this error
Notice: Undefined variable: page in C:\Program Files\Abyss Web Server\htdocs\index.php on line 11
Warning: main() [function.main]: Failed opening '' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Abyss Web Server\htdocs\index.php on line 11
and my url is linked like this http://myip/main.php?page=test.htm
the content does not apper in the spot it should... and i used it on other site b4 im sure of it... plz tell me how to make it work for me thx!! |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Jun 16, 2003 8:12 pm Post subject: Re: php error |
|
|
Search for "Undefined variable" on the PHP forum for information on how to get rid of this error (which is related to your PHP code). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|