On Saturday 29 May 2004 10:21 am, Andrei Verovski (aka MacGuru) wrote:
> Hi,
>
> Anyone knows ho to obtain MAC address of server where PHP is running (with
> PHP function, of course)?
>
> Thanks in advance for any suggestion(s)
>

I use passthru() to execute shell commands, and use preg_match() to get the 
MAC address.
Unfortunately, this would only work if passthru() isn't disabled, and 
safe_mode is off...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to