Get users MAC-address of visitor

From: Date: Wed, 23 Jun 2004 20:36:05 +0000
Subject: Get users MAC-address of visitor
Groups: php.general 
Request: Send a blank email to php-general+get-188906@lists.php.net to get a copy of this message
Hi! I wonder how i can retrive the MAC-address of the visitor using PHP? What i am thinking about is using the MAC-address instead of the IP-address to ban troublesome users from forums etc. If i just use the IP-address some users will just change it. I know that it´s possibly to spoof the MAC address but it´s much harder than just changing the IP-address. Do you think that there is a big speed penalty by using the MAC-address? I could just use it when the users first arrives to the site. Then he/she could be logged in using a session the rest of his visit. I could also store the MAC-address of the user in encoded form in a cookie so that i won´t have to retrive the MAC-address "the hard way" on every visit. Comments and tips would be greatly appreciated! Yours supersinerely, Yngve

« previous php.general (#188906) next »