Robert,
Use for the client's IP address: REMOTE_ADDR or for the hostname: REMOTE_HOST
Run phpinfo(); to see for yourself.

Regards,
Roel Mulder

At 17:25 14-05-2001 -0400, you wrote:
>Anyone know how to get the connecting client's ip address using php?  I need
>to log this information to a db for security reasons
>
>Thanks
>
>Robert Staph, W3RCS
>The Center for Advanced Technologies

Mulder Technisch Advies
Postbus 69
NL-2740 AB  WADDINXVEEN
tel. 0182-640184 fax. 0182-640185
http://www.mta.nl


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to