Home »
FUDforum Development »
Bug Reports »
ORIG_PATH_INFO and PHP5.2 (In new version of PHP $_SERVER['PATH_INFO'] variable is not set)
ORIG_PATH_INFO and PHP5.2 [message #38194] |
Tue, 24 July 2007 14:21 |
alextop
Messages: 4 Registered: September 2006
Karma: 0
|
Junior Member |
|
|
In new version of PHP running in CGI mode variable often is not set, instead it sets $_SERVER['ORIG_PATH_INFO'] variable.
I offer to add such check in FUDforum so it can use either PATH_INFO or ORIG_PATH_INFO, if needed.
It can be fixed by adding cgi.fix_pathinfo = 0 in custom php.ini (if allowed) or use the trick in GLOBALS.php that sets PATH_INFO if it is not available.
|
|
|
|
Goto Forum:
Current Time: Fri Nov 01 18:02:47 GMT 2024
Total time taken to generate the page: 0.02373 seconds