J Jinx Member May 25, 2008 #1 May 25, 2008 #1 I am unable to get a value for the PASS_TRANSLATED element of $_SERVER. Is there a way to fix this or is it just unsupported? I'm using LSAPI PHP 4.4.8 but I also tried it with PHP 5 and it produced the same result. Thanks!
I am unable to get a value for the PASS_TRANSLATED element of $_SERVER. Is there a way to fix this or is it just unsupported? I'm using LSAPI PHP 4.4.8 but I also tried it with PHP 5 and it produced the same result. Thanks!
M mistwang LiteSpeed Staff May 26, 2008 #2 May 26, 2008 #2 should be PATH_TRANSLATED . PATH_INFO should be used.
J Jinx Member May 27, 2008 #3 May 27, 2008 #3 Actually that is what I ment (sorry for the confusion), <?php echo $_SERVER['PATH_TRANSLATED']; ?> and <?php echo $_SERVER['PATH_TRANSLATED . PATH_INFO']; ?> produce no output.
Actually that is what I ment (sorry for the confusion), <?php echo $_SERVER['PATH_TRANSLATED']; ?> and <?php echo $_SERVER['PATH_TRANSLATED . PATH_INFO']; ?> produce no output.
M mistwang LiteSpeed Staff May 27, 2008 #4 May 27, 2008 #4 It will not be set when there is no PATH_INFO in the request URL. You can try a URL like http://yousite.com/phpinfo.php/path/info PATH_TRANSLATED should be there.
It will not be set when there is no PATH_INFO in the request URL. You can try a URL like http://yousite.com/phpinfo.php/path/info PATH_TRANSLATED should be there.