Computer name using php?

benaya p

New member
Hi,
Anyone can tell me how to get computer name using php. I have tried this $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); but it does not working for me. For local its working fine but in live not working just show ip addres.

Thanks in advance.
 
Back
Top