Re: ereg
| From: | ReDucTor | Date: | Mon, 01 Oct 2001 03:24:10 +0000 |
| Subject: | Re: ereg | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69414@lists.php.net to get a copy of this message | ||
use MSIE:[56|5\..|6\..] something like that, i suck at regular expression :D
----- Original Message -----
From: "Matthew Delmarter" <matt@adplusonline.com>
To: "PHP Mailing List" <php-general@lists.php.net>
Sent: Monday, October 01, 2001 1:32 PM
Subject: [PHP] ereg
> How do I use ereg to check for MSIE 5.5 and above.
>
> eg: eregi("(MSIE.[56])",$HTTP_USER_AGENT)
>
> This only gets version 5 and 6 ... but I want 5.5 and above. Any
> ideas?
>
> Regards,
>
> Matthew Delmarter
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>