Hello,
If I use 'getenv("REMOTE_ADDR") ' for return the IP
address of the
person visiting my site, what is the best to do? To
save in a variable, like '$ip = getenv("REMOTE_ADDR");
, then insert it in a database(MySQL),then take it
with a sql query and write it in another place saw
only by me?
<?php
$ip = getenv("REMOTE_ADDR") ;
?> -where can I place this? From the begin of
index.php?
Thank you very match!
Radu
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now._______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php