Have you checked that both systems use the same locale?
What encoding is the PHP script using on both systems?
I would also try using strcmp instead of the equals operator. I'm not sure if the equals operator uses strcmp internally, but it's a simple thing to test out in your case.
Ben S
2009-04-21 17:08:57