On Thursday 18 September 2003 15:55, Louie Miranda wrote:
> Im trying to match some words on the value that i have impost on php.
> But i dont know why it doesnt seem to catch some certain fields.
>
> if ($HTTP_USER_AGENT === 'MSIE ')
>
> I know something is wrong :(

Did you *try* finding out what is wrong?

Simple things like 

  echo $HTTP_USER_AGENT 

to see what it really contains?

And if you're only matching part of a string you should be using things like 
strpos() or preg_match() etc.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A straw vote only shows which way the hot air blows.
                -- O'Henry
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to