php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45980 Detect MAC Address With PHP
Submitted: 2008-09-03 12:20 UTC Modified: 2008-09-03 12:26 UTC
From: lalit774 at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.2.6 OS: Linux and windows
Private report: No CVE-ID: None
 [2008-09-03 12:20 UTC] lalit774 at gmail dot com
Description:
------------
 Is there some way can detect MAC address with PHP?

 http://www.itracs.edmissions.com/mac_test.php

 

I want trace the mac address of every visitor on my web site.

I there any method exists? 

Reproduce code:
---------------
location = rtrim("/sbin/arp -a ");
exec(location, output);
echo '<pre>';
print_r(output);
exit;

Expected result:
----------------
mac address of client pc who access the my site.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-03 12:26 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

(And no, you can\'t).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 18 16:01:32 2024 UTC