Hey,
Thanks, it worked!
-Ryan

On 2/1/2004 1:13:32 AM, Stuart ([EMAIL PROTECTED]) wrote:
> Ryan A wrote:
> > $somecontent = strtoupper(md5($type));
> 
> compared to...
> 
> > if(strcmp($contents,md5("1"))==0)
> 
> Comparing uppercase to lowercase (md5 generates a lowercase string).
> Either remove the strtoupper when first generated, strtoupper the md5
> result in the comparison or use strcasecmp instead of strcmp.
> 
> --
> Stuart

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

Reply via email to