I'm asking if there is a way to get the name, ip and mac of a pc with php or javacript?
I need this to configure a view in an application I developed. In this case, the user uses windows to access my application that is built with the PHP framework, codeignter, and obviously I use PHP to connect with the DB.
Why the name of the PC? Well ! the name of the pc in a network can be replaced with another pc with the same name. With the mac address can't. but its a way i cant get the name, ip and mac of a pc who acces to my aplication i want to know.
Getting the MAC address isn't possible without some browser plugin client-side.
Also, you should know that it is very easy to change your MAC address. Besides, not everyone even has one. Ethernet is not a prerequisite for internet access.
You can get the remote address out of $_SERVER
data in PHP, but it isn't always the real client IP, in cases of proxying or NAT.