php-db | 2001051
Date: 05/14/01
- Next message: Brian Tegtmeier: "[PHP-DB] Flash+PHP search error"
- Previous message: Robert Staph: "Re: [PHP-DB] Url link"
- In reply to: Robert Staph: "Re: [PHP-DB] Url link"
- Next in thread: ncarb <email protected>: "Re: [PHP-DB] Url link"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Brian Tegtmeier: "[PHP-DB] Flash+PHP search error"
- Previous message: Robert Staph: "Re: [PHP-DB] Url link"
- In reply to: Robert Staph: "Re: [PHP-DB] Url link"
- Next in thread: ncarb <email protected>: "Re: [PHP-DB] Url link"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

