I'm using a php script for my web site which has registration, log-in, etc. Can you tell me how I might be able to capture the registrants IP adress upon registration? Thanks.
You could use $_SERVER['REMOTE_ADDR'], but it may not be reliable, and of course the same user could use more than one IP address over a period of time, while different users could use the same IP address.