WD wrote:
> 
> heres what is result in IE...which shouldnt show up at
> this code isnt parsing like I expect..
> 
> <?php
> if ($HTTP_USER_AGENT = "Mozilla")
> {
> print ("This site best viewed with IE 4 or
> better!\n");
> print ("<center>\n");
> print ("<a href='http://www.microsoft.com'>\n");
> print ("<img src='lgoIE.gif'></a>\n");
> print ("</center>\n");
> }
> ?>all...
> 
> \n"); print ("\n"); print ("\n"); print ("
> \n"); } ?>
> 
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
> 
> --
> 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]

Have you ever checked the $HTTP_USER_AGENT value from IE?

IE says:

"Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)"
(for example)

So, you shouldn't be checking for Mozilla. IE says that to.
-- 

* R&zE:

***************************
**  Renze Munnik
**
**  E: [EMAIL PROTECTED]
**  M: +31 6 218 111 43
***************************

-- 
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