if you are using a version of php later then 4.1, try $_SERVER['PHP_SELF'].
hth
jeff
"Eugene Wolff"
http://www.php.net/manual/sv/security.registerglobals.php
$_SERVER['PHP_SELF']
$_GET['id']=2
hth
Jeff
Ailon Katsutsy
hello,
it is probably because in 4.2 register globals are set to off by default.
you have two choices:
1. do a search and replace on your scripts looking for $PHP_SELF and
changing it to $_SERVER['PHP_SELF']
2. assuming you use a common config file you can add $PHP_SELF =
$_SERVER['PHP_SELF']
Scott--
The variable PHP_SELF requires the directive "register_globals" (automatically create
variables) to be on, which it is by default in PHP < 4.2. For security reasons,
enabling this directive IS NOT a good idea, and the default installation has been
changed in PHP 4.2. For more informa
Use the function phpinfo() in your script and choose.
B.
Le 2001.09.20 15:27, [EMAIL PROTECTED] a écrit :
> Hi,
> I'm sure this point has been discussed thousand of times, but does anyone
> know what to do to make the $PHP_SELF working well under win2000 because
> in
> my case,
>
> echo $PHP_SEL
Maybe you can use the $SCRIPT_NAME variable instead?
Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117
http://www.datadrivendesign.com
Phone: (386) 226-8979
Websites That WORK For You
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday,