How can I store the IP address of a surfer in a variable?
Have you tried $_SERVER['REMOTE_ADDR']?
<? $yourvar = $_SERVER['REMOTE_ADDR']; ?>
then you can call the variable anywhere in your script,
Hope this helps
Thanks.