PHP 4.3.2 : PHP_SELF problem

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

liquedus
php-forum Active User
php-forum Active User
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada
Contact:

PHP 4.3.2 : PHP_SELF problem

Postby liquedus » Thu May 29, 2003 7:38 am

I just updated to 4.3.2 running with IIS on winXP, but after the installation $PHP_SELF seems to give an error. All my other code works fine, just $PHP_SELF.....

is there another way of obtaining the info contained in $PHP_SELF?
or is there a setting for this?

User avatar
mike
New php-forum User
New php-forum User
Posts: 73
Joined: Sun May 04, 2003 4:26 am
Location: Athens
Contact:

Postby mike » Thu May 29, 2003 2:02 pm

I dont think its an error of 4.3.2... maybe you havent turned on your "register_globals" mode. Try $_SERVER['PHP_SELF'] instead :)

liquedus
php-forum Active User
php-forum Active User
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada
Contact:

Postby liquedus » Thu May 29, 2003 6:34 pm

its strange because with my previous version i had turned register_globals off as i remember it and it still worked... but the $_SERVER works fine... thanks :lol:


Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 1 guest