Getting MAC address of LAN
Its most helpful to get the remote pc’s lan card’s mac address to prevent certain access on the website. <?php echo $ip=$_SERVER[‘REMOTE_ADDR’]; echo ‘<br>’; echo $mac = shell_exec(‘arp -a ‘.$ip); echo ‘<br>’; echo $macadd=substr($mac,20,-17); ?>