Click here to Skip to main content
15,998,003 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to get the hard disk number of my site user on page load.
Posted
Comments
Slacker007 21-Feb-11 7:16am    
Would you please give a little more information in your question.
tarunbaraiya 21-Feb-11 7:55am    
the MAC number of pc in php
Prerak Patel 21-Feb-11 7:22am    
If you wish to get client's HDD number, you just can't.
sjelen 21-Feb-11 7:59am    
Browsers do not have access to such data.
You could write an ActivX control to do that.
Sandeep Mewara 21-Feb-11 8:22am    
Any effort?

1 solution

You can't get the MAC address using PHP because it isn't available to the server.

But you could read it using Javascript, filling a hidden input and posting it to server.

This seems to work for IE: Javascript MAC Finder[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900