Hi, I have 4 pc which are connected through the LAN.I am making a PHP program that will differentiate each PC separately and i will keep each pc record.But when i am getting an IP address i am getting same IP for all.I guess i should to retrieve MAC address for all pcs separately, but i don't know how will i fetch MAC address.I am using Linux OS. Programing tips will be apperctate. Thanks
Is the PHP application running on a machine in the same lan? I'm guessing it's not since you say you are getting the same ip for all of them. If the four client computers are going to access the php app through a browser then you could use ssl client certificates or just simply have each of the pcs access the application with it's own username/password. If you don't want to add authentication to the mix you could simply make each pc access the app through it's own url. ex: http://<url to app>/?pc1