PDA

View Full Version : Something missing?


Jetro
12-15-2005, 04:44 PM
I use lsapi php and there's no something like $_SERVER['REMOTE_ADDR']? Why?

mistwang
12-15-2005, 06:33 PM
Are you sure? There should be. I verified with LSAPI PHP 4.4.1.

Jetro
12-16-2005, 05:43 AM
Sorry, not REMOTE_ADDR but SERVER_ADDR. I use PHP5 with LSAPI from 2.1.2.

mistwang
12-16-2005, 10:39 AM
Yes, lshttpd does not set SERVER_ADDR, the fix will be in 2.1.8