Board index   FAQ   Search  
Register  Login
Board index PHP PHP Installation

PHP 4.3.2 : PHP_SELF problem

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

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?
liquedus
php-forum Active User
php-forum Active User
 
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada

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 :)
User avatar
mike
New php-forum User
New php-forum User
 
Posts: 73
Joined: Sun May 04, 2003 4:26 am
Location: Athens

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:
liquedus
php-forum Active User
php-forum Active User
 
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada


Return to PHP Installation

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.