Hi, Friday, October 28, 2005, 7:20:58 PM, you wrote: RV> On 10/28/05, Tom Rogers <trogers@xxxxxxxxxx> wrote: >> >> I would do it with a small class like this: RV> $mactest = new mac("there are a few gotchas for anyone using this"); print $mactest->>is_valid ? "valid\n" : "invalid\n"; RV> // valid RV> -- RV> PHP General Mailing List (http://www.php.net/) RV> To unsubscribe, visit: http://www.php.net/unsub.php It does reduce to a valid mac address (EE:AE:AF:EC:AF:AE) :) -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php