I am using freeBSD .
I have written a PHP script that can give me IP , hostname as well as MAc address of the work station.
I have used
Expand|Select|Wrap|Line Numbers
- shell_exec("arp -a");
That works fine on my PC. But when i run that script on other PCS , It gives me correct IP and hostname , but the arp -a gives me all the data of my Pc , rather than giving me the result of the PC on which I am running the script..
are there any other option , by which i can get MAC address ....
Thanks,