Run ipconfig command with php

前端 未结 3 1397
醉梦人生
醉梦人生 2021-01-22 05:34

I use this code to understand some information of visitors (clients). It has been running on my virtual server on Xampp, but I can`t run on my main server (host). I see just a b

3条回答
  •  礼貌的吻别
    2021-01-22 06:03

    This would only get the servers IP information not the client. Because you are running the code on your local PC you will see your local information (which will be the same as the server information).

    Also if your hosts server is running linux, the command would be ifconfig, but that would still only get the server information.

提交回复
热议问题