Presently i am in intranet.I have connected to SERVER -A from my laptop and from there i was logIn to one php application running on another server(SERVER-B) which exists in same intranet. My need is i want to get the PC name of the user from php application which is running on SERVER-B. When i use $pcname = gethostnamebyaddr($_server['REMOTE_ADDR']); i am getting SERVER-A host name,but i want laptop Computer NAME,how can i get this?
this depends on your router... its possible you could do a ptr dns request for it manually to your router