Re: BUG - Someone else please verify B4 I file
| From: | Data Driven Design | Date: | Wed, 04 Apr 2001 21:14:31 +0000 |
| Subject: | Re: BUG - Someone else please verify B4 I file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47113@lists.php.net to get a copy of this message | ||
I've noticed that and had to rewrite several scripts when hosts upgraded
from PHP3 to PHP4. $HTTP_POST_VARS is considered set even when it is empty.
Data Driven Design
P.O. Box 1084
Holly Hill, FL 32125-1084
http://www.datadrivendesign.com
http://www.rossidesigns.net
----- Original Message -----
From: Krznaric Michael <mkrznaric@rand.com>
To: <php-general@lists.php.net>
Sent: Wednesday, April 04, 2001 11:02 AM
Subject: [PHP] BUG - Someone else please verify B4 I file
> There seems to be a bug in php 4.0.4pl1, would someone please verify
> this script below. If you paste this script into a file called bug.php
and
> you just call it you will see "Http post Vars Set". However you will not
> find that variable it in the output of PHPINFO. I tried this under
> php4.0.2 and the behavior is as expected "Http Post Vars Not Set".
>
> Can anyone confirm or disprove this?
>
> Mike
>
> bug.php
> <?
> if (isset ($HTTP_POST_VARS)){
> echo "Http Post Vars Set";
> }
> else {
> echo "Http Post Vars Not Set";
> }
> phpinfo();
> ?>
>
> My environment:
> PHP-4.0.4pl1 DSO
> Solaris 8
> Apache 1.3.14
>
> --
> 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
>
>