Re: "Boolean" parameter passing

From: Date: Tue, 18 Jul 2000 14:06:01 +0000
Subject: Re: "Boolean" parameter passing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7068@lists.php.net to get a copy of this message
I might be mistaken, but I think the only thing you can do is look for "useThisAndThat" in the $QUERY_STRING variable. Niklas Brunlid wrote: > > I've looked around for this but can't find it... > > Is there any way to check for a CGI variable that doesn't have a value? > Something like this: > > "http://my.domain/my_script.php?useThisAndThat" > > instead of: > > "http://my.domain/my_script.php?useThisAndThat=1" > > I suppose HTTP_POST_VARS can be used by if there is another way I'd like > to use it... > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.general (#7068) next »