This is a discussion on Re: [PHP] Mac Address Lookup within the PHP General forums, part of the PHP Programming Forums category; If you have the IP address, then 'nslookup' or I guess now 'dig' and 'host' would be the newere versions. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
If you have the IP address, then 'nslookup'
or I guess now 'dig' and 'host' would be the newere versions. They are Linux system calls, use system() or exec() to use them within your script, and play around with the options and/or read the man pages for how to use them. HTH -Brad ----- Original Message ----- From: skate <root@fatcuban.com> Date: Friday, July 18, 2003 12:28 pm Subject: Re: [php] Mac Address Lookup > very little chance, a machine won't transmit it's MAC address, > that the main > point of the TCP/IP stack is to convert IP address' into MAC > address' at > routers and such. > > ----- Original Message ----- > From: "Ashwin Kutty" <akutty@dal.ca> > To: <php-general@lists.php.net> > Sent: Friday, July 18, 2003 5:19 PM > Subject: [php] Mac Address Lookup > > > > I am trying to do a lookup of a Mac Address via PHP. Is there > any way to > > do so like gethostbyaddr that gets me the name of a machine? > > > > Thanks. > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > |