Re: Question
| From: | Miguel Cruz | Date: | Sun, 28 Apr 2002 21:17:15 +0000 |
| Subject: | Re: Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95019@lists.php.net to get a copy of this message | ||
On Sat, 27 Apr 2002, Gerard Samuel wrote:
> Is it possible to have PHP find out the ethernet's card MAC address??
> I know that one can parse the output of dmesg or equvalent to find it
> out, but that would be OS platform
> specific code.
> I just want to know if php has a native way of finding out that information.
Nope. You'd have to deal with it on a platform-by-platform basis. Look at
the OSTYPE environment variable and switch() to various handlers of your
creation.
miguel