search

Home  >  Q&A  >  body text

How to use PHP to get the computer name and Mac address based on the IP address and check whether the computer with the IP is online?

How to use PHP to obtain the computer name and Mac address based on the IP address and check whether the computer with the IP is online?

..CZY....CZY..2638 days ago1624

reply all(1)I'll reply

  • 电动小老虎

    电动小老虎2017-11-13 21:11:27

    First of all, PHP is a server-side scripting language and can only run on the server, which determines that it cannot traverse customer data.

    Secondly, according to the http protocol. The client sends a request, and the server responds after receiving it. It cannot actively access the client.

    Again, the websoket protocol allows the establishment of a connection with the remote server through JS, allowing two-way communication. It should be possible. .

    reply
    0
  • Cancelreply