FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » ORIG_PATH_INFO and PHP5.2 (In new version of PHP $_SERVER['PATH_INFO'] variable is not set)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
ORIG_PATH_INFO and PHP5.2 [message #38194] Tue, 24 July 2007 14:21 Go to previous message
alextop is currently offline  alextop   Ukraine
Messages: 4
Registered: September 2006
Karma:
Junior Member
In new version of PHP running in CGI mode
$_SERVER['PATH_INFO']
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.
[Message index]
 
Read Message
Read Message
Previous Topic: PHP Notice in error_log
Next Topic: 10000 message was died
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 01 18:08:31 GMT 2024

Total time taken to generate the page: 0.03860 seconds