Sure. It's an "environment variable", so it should always be set, even if it
is empty.

It's just a matter that all variables are declared, THEN their values are
assigned.

That's how C works, and that's what PHP is built in, so that's the behavior.
It makes it more standard with other applications, without loosing any real
functionality.

So it's annoying at times, but with just a switch-aroo of the functions you
are using, you can do the same stuff.


--
Plutarck
Should be working on something...
...but forgot what it was.


"Krznaric Michael" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> O.k. I understand that, now why would HTTP_POST_VARS be set if no data is
> posted?  Is this desired operation?
>
> Mike
>
> -----Original Message-----
> From: Jeff Carnahan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 2:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] BUG - Someone else please verify B4 I file
>
>
> In article <81A3043681E6824EBE672F7421C30E7E2A19A7
> @SRVTORONTO.RAND.COM>, [EMAIL PROTECTED] says...
> }if (isset ($HTTP_POST_VARS)){
> } echo "Http Post Vars Set";
>
> Remember, just because a variable is "set", it doesn't imply that the
> variable has any data stored in it. In this case, while the
> HTTP_POST_VARS array may be set, it does not contain any elements.
> (It's size is zero.)
>
> Hence, it's not included in phpinfo().
>
> --
> Jeff Carnahan - [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to