php error

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
raven
-


Joined: 16 Jun 2003
Posts: 2

PostPosted: Mon Jun 16, 2003 3:32 pm    Post subject: php error Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jun 16, 2003 8:12 pm    Post subject: Re: php error Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group