in reply to Re: Re: Detecting a post via cgi
in thread Detecting a post via cgi

Put QUERY_STRING in quotes just as you did with HTTP_REFERER.