$php_self

$ Php_self - Computer Issues, Video Gaming - Posted: 15th Aug, 2009 - 4:09am

Text RPG Play Text RPG ?
 

Posts: 3 - Views: 803
Post Date: 12th Feb, 2009 - 1:06am / Post ID: #

$php_self

$PHP_SELF

I notice $PHP_SELF code does not work for me, it redirects in the browser, why is that?

Sponsored Links:
12th Feb, 2009 - 1:22am / Post ID: #

phpself

Within .htaccess try turning register_globals off and see if that solves your problem.



Post Date: 15th Aug, 2009 - 4:09am / Post ID: #

$php_self
A Friend

$php_self Gaming Video & Issues Computer

To be honest, I can't find anything in PHP's documentation concerning a variable $PHP_SELF. Perhaps it is deprecated? (Though, I do remember reading it in a book on PHP 5... As JB said, check your register_globals settings.)

However, it seems that for me, $_SERVER['PHP_SELF'] works when $PHP_SELF and PHP_SELF don't -- so if you can't get it, use that.


 
> TOPIC: $php_self
 

▲ TOP


International Discussions Coded by: BGID®
ALL RIGHTS RESERVED Copyright © 1999-2024
Disclaimer Privacy Report Errors Credits
This site uses Cookies to dispense or record information with regards to your visit. By continuing to use this site you agree to the terms outlined in our Cookies used here: Privacy / Disclaimer,