if all you want to know is the browser's version, why
not use get_browser()

http://www.php.net/manual/en/function.get-browser.php


--- Costas <[EMAIL PROTECTED]> wrote:
> How do i extract the position (integer counting from
> the left) of the letter
> M (beginning 'MSIE'.
> 
> $str = "Mozilla/4.0 (compatible; MSIE 5.01; Windows
> NT 5.0)";
> 
> NOTE,  i only want a single integer (it is 28, i
> counted manuallt!!)
> 
> Thanks
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to