Forum Moderators: coopster
Some of my scripts use _SERVER["PATH_INFO"] but when run as CGI, I'm seeing some weirdness:
Apache Module:
/test.php/123/456: _SERVER["PATH_INFO"] is /123/456
/test.php: _SERVER["PATH_INFO"] is blank
FastCGI:
/test.php/123/456: _SERVER["PATH_INFO"] is /123/456
/test.php: _SERVER["PATH_INFO"] is /test.php
Not sure why it's showing the filename instead of being empty. Is _SERVER["PATH_INFO"] usually nutty in the CGI environment?