J Jetro Member Dec 15, 2005 #1 Dec 15, 2005 #1 I use lsapi php and there's no something like $_SERVER['REMOTE_ADDR']? Why?
M mistwang LiteSpeed Staff Dec 16, 2005 #2 Dec 16, 2005 #2 Are you sure? There should be. I verified with LSAPI PHP 4.4.1.
J Jetro Member Dec 16, 2005 #3 Dec 16, 2005 #3 Sorry, not REMOTE_ADDR but SERVER_ADDR. I use PHP5 with LSAPI from 2.1.2.
M mistwang LiteSpeed Staff Dec 16, 2005 #4 Dec 16, 2005 #4 Yes, lshttpd does not set SERVER_ADDR, the fix will be in 2.1.8