PHP 4.3.2 : PHP_SELF problem

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

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

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:

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 :)
11:16am up 404 days, 2 users, load average: 148.68, 143.45, 132.6


Mike Vassileiou
[Systems Administrator / PHP Developer]


PHP/MySQL Manual:
http://www.phpmysql-manual.com

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

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:

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest