computer name of user along with ip address
<p>hi i am trying to get the ip address and computer name of my users . i am able to get ip address but computer name i am not getting , i tried these codes. </p>

<pre><code>$ip=$_SERVER['REMOTE_ADDR']; 

gethostbyaddr($_SERVER['REMOTE_ADDR']);

$_ENV['COMPUTERNAME']; 
</code></pre>

<p>except ip address nothing worked for me. i want to get the client computer name</p>

<p>i want to submit these ip address and computer name in my server.or is there any better way to identify the returning visitor as ip address keep on changing every hour for most of the users . i want to count how many times a user from a particular pc is coming to my website</p>
