if($string == 'test/contact.html')
it could be
if($string == "test/contact.html")
not to start a flame war or anything, but isn't the apostrophe version quicker, as it doesn't ask the server to parse the string?
Kae
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php