Re: Mac Address Lookup
| From: | bbonkosk at tampabay dot rr dot com | Date: | Fri, 18 Jul 2003 16:46:28 +0000 |
| Subject: | Re: Mac Address Lookup | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155806@lists.php.net to get a copy of this message | ||
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
>
>