I would like to get IP addresses from my site users and store it in a database. I have been trying to use getallheaders(); function but it is not working for me. Any help? Thanks! Paul
the variable $REMOTE_ADDR will return the user's IP address.
Thank you
Paul
Or just check your server logs... that might be easier if you have easy access.
Dave
=========================================== http://badblue.com/helpphp.htm Free small footprint web server for Windows