I need to know the MAC and the IP address of the connect clients, how can I do this in PHP?
Getting MAC Address Using PHP: (Tested in Ubuntu 18.04) - 2020 Update
Here's the Code:
Output:
{ "lo": "00:00:00:00:00:00", "enp0s25": "00:21:cc:d4:2a:23", "wlp3s0": "84:3a:4b:03:3c:3a", "wwp0s20u4": "7a:e3:2a:de:66:09" }