Jump to content

$PHP_SELF


Tandem

Recommended Posts

I just recently moved to a different server. When i use the variable $PHP_SELF on the new server, it is coming up with the direct page rather than including the GET info. For example if the url is: www.blahblah.com/page.php?id=100, $PHP_SELF (if echoed) will be just www.blahblah.com/page.php.

I was wondering if there is an alternative, or a fix for this? and if any could tell me why it's happening that would be cool too.

Any help appreciated.
Link to comment
https://forums.phpfreaks.com/topic/18825-php_self/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.