plz anyone help me how to get user's computer name when they browse my website....
i've used this code but it returns the ip address...i need the computer's name...
example : "HARSH-PC"
Here you go:
PHP Code:
<?php
gethostbyaddr($_SERVER['REMOTE_ADDR']);
?>
I hope I helped!
Copyright © 2024 QUIZLS.COM - All rights reserved.
Answers & Comments
Verified answer
Here you go:
PHP Code:
<?php
gethostbyaddr($_SERVER['REMOTE_ADDR']);
?>
I hope I helped!