Re: $PHP_SELF
| From: | Jeffrey_N_Dyke at Keane dot com | Date: | Tue, 12 Nov 2002 12:50:52 +0000 |
| Subject: | Re: $PHP_SELF | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9117@lists.php.net to get a copy of this message | ||
http://www.php.net/manual/sv/security.registerglobals.php
$_SERVER['PHP_SELF']
$_GET['id']=2
hth
Jeff
Ailon Katsutsy
<ailonk@yahoo. To: php-install@lists.php.net
com> cc:
com>
Subject: [PHP-INST] $PHP_SELF
11/12/2002
05:43 AM
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