www.localhost.com/testing.php?test=ok
I obtain the wrong message ( oopps, ok=-- ). , so ok is null.
thats coz regiser globals are off in ur php.ini do this
<?php if ($test=="ok") { // I have tried as well to put strcmp
if($_GET['test']=="ok")
(($test, "ok") == 0) echo "it works"; } else echo "oopps, ok=$ok--";
?>
hope this helps .....
goodluck
toby .....
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php