What’s the difference between $_SERVER[\'PATH_INFO\']
and $_SERVER[\'ORIG_PATH_INFO\']
? How do I use them?
When I run print_r($_SERVE
Prior to 5.2.4, PATH_INFO
was apparently broken (not set) in the default configuration. Perhaps that's it.
https://bugs.php.net/bug.php?id=31892
The PHP manual says that ORIG_PATH_INFO
is:
Original version of 'PATH_INFO' before processed by PHP.
Reference:
http://php.net/manual/en/reserved.variables.server.php