collect.php
<?php
  $ip=$_SERVER['REMOTE_ADDR']; // this is the IP of the avatar obtained when the avatar loads the media
  $proxy=$_SERVER['HTTP_X_FORWARDED_FOR']; // proxy perhaps?     
  $name=$_GET['name']; // the avatar name obtained when the avatar loads the media with ?name=Phillip Linden in the URL
 
  //etc...          
 
?>