Possible Duplicate:
How can I get the client's IP address in a PHP webservice?
I've a small site that lets anonymous users to upload images. However, this obviously has the potential to be abused. How could I track/log relevant information (IP address etc) for each image that is uploaded? I'm using PHP and MySQL.
Thanks.