$PHP_SELF
| From: | Ailon Katsutsy | Date: | Tue, 12 Nov 2002 10:43:50 +0000 |
| Subject: | $PHP_SELF | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9116@lists.php.net to get a copy of this message | ||
Hi there,
I have installed php and tried creating a basic "hello world" script. Worked fine.
Tried to do a simple query to a MySql table. Worked fine too.
Two problems I am facing though:
1. When using $PHP_SELF i get the following error: Undefined variable: PHP_SELF
2. When calling a php page with arguments (e.g. http://my_server/test.php?id=2 ) i get an error: Undefined
variable: id when tring to use the passed argument.
Please help.
Thanks,
Ailon ailonk@yahoo.com
---------------------------------
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD