get computer's name using php?

Marc

New member
I'm using php and I want to get the name of the requesting computer using php.

I'm currently using "gethostbyaddr($_SERVER['REMOTE_ADDR'])"


Many people say that this gets the requesting computer's name, but in reality it is only getting the name of the modem/router that the computer is connected to. I know.

Is there a function that "bypasses" the router/modem and gets the name of the requesting computer? Or do most routers use Network Address Translation?

Thanks,
 
Back
Top