if(count($HTTP_GET_VARS))

On Mon, 25 Mar 2002, Kai Schaetzl wrote:

> I transferred an application from Linux/Apache to .NET/IIS6 and it
> appeared to be working fine, first. A bit later I found that it
> wouldn't switch to most functions derived from a GET variable. The
> reason being that $query seems to be empty, so it always defaults to
> this action:
>
> $query = getenv("QUERY_STRING");
> if(((!$HTTP_POST_VARS) and (!$query))
>
> Now, checking getenv in the online docs gives a reason for this
> behavior:
>
> > Note: This function does not work in ISAPI mode.
>
> So, I *can* grab all of the GET variables, but I can't check in
> general if there are any?
>
> Is there a workaround (other than checking for a specific variable)?
>
>
> Kai
>
> --
>
> Kai Schätzl, Berlin, Germany
> Get your web at Conactive Internet Services: http://www.conactive.com
> IE-Center: http://ie5.de & http://msie.winware.org
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to