[snip] I have encountered a very strange error on one of our customers sites. Their script returns the following error: Warning:Invalid argument supplied for foreach This is in response to the following line: foreach ($_GET as $key => $value) All I am trying to do is parse the querystring! Any ideas? [/snip] What happens when you print_r($_GET); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php