Get Client Machine Name in PHP

后端 未结 6 661
借酒劲吻你
借酒劲吻你 2020-12-30 23:58

This program only returns the client machine name in localhost only

echo gethostbyaddr($_SERVER[\'REMOTE_ADDR\']);

If it is run from an online s

6条回答
  •  春和景丽
    2020-12-31 00:48

    Not in PHP.
    phpinfo(32) contains everything PHP able to know about particular client, and there is no [windows] computer name

提交回复
热议问题