View Single Post
Old 08-29-2005, 10:24 AM  
E Guru
Confirmed User
 
Join Date: Jul 2005
Posts: 658
Quote:
Originally Posted by Calvinguy
$_server["remote_addr"]
No, that does not work. The whole variable does not work.

Here is what they told me.
Its passed as a variable
"x-client-ip"
in unix if you want to set the log to read it, you would use this:
LogFormat "\"%{X-Client-IP}i\" %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

Well, how would I get that in php?
E Guru is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote