PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Coding & Tutorials (http://www.phpdig.net/forum/forumdisplay.php?f=31)
-   -   Client IP address (http://www.phpdig.net/forum/showthread.php?t=951)

griffinmt 05-22-2004 01:16 PM

Client IP address
 
Just started to use PHP with a small application and found a need to log some transaction information along with the ip address of the client system. Is there a function or system variable that provides this?

Thanks

griffinmt 05-22-2004 02:32 PM

OK - Figured it out doing some snooping.
$_SERVER['REMOTE_ADDR'] was what I was looking for.

Where can I find a list of ALL such variables?

vinyl-junkie 05-22-2004 03:48 PM

Welcome to the forum, griffinmt! :D

If you're looking for a list of all variables used in the phpdig code, check this out. If you're looking for a list of reserved variables that PHP uses, check this out.

Hope it helps.

griffinmt 05-23-2004 10:30 AM

That was usefull to me.

Thanks


All times are GMT -8. The time now is 10:31 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.