Re[2]: [PHP] regex and global vars problem
| From: | Tom Rogers | Date: | Fri, 28 Oct 2005 10:55:39 +0000 |
| Subject: | Re[2]: [PHP] regex and global vars problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224765@lists.php.net to get a copy of this message | ||
Hi,
Friday, October 28, 2005, 7:20:58 PM, you wrote:
RV> On 10/28/05, Tom Rogers <trogers@kwikin.com> 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