I'm looking for a way to get the ip address of users logging into my site, for security purposes. Is there a function in PHP that would do this? Does anyone have a script that would do this? I basically want to make sure that I know where a user is registering from, as a way of monitoring anauthorized users trying to sneek in. Any ideas?🙂