Entry
For some reason my php.ini tells me: PHP_SELF /php/php.exe/info.php instead of just info.php. I just switched from IIS so help me stay with Apache!
Nov 4th, 2000 15:09
fernando ruiz, Todor Gaidarov, Narendra Jain, Jan janssen,
PHP_SELF will always give you the entire path from the web / document
root directory for your web server. Probably, your have this code lying
under:
/usr/local/apache/htdocs/ (if this is the web / document root)
/php/php.exe/info.php
In this case PHP_SELF would be /php/php.exe/info.php.
TG: Use $PATH_INFO instead. :)