Re: PHP 4.0 Bug #6267 Updated: parse_str fails to parse strings
| From: | Rasmus Lerdorf | Date: | Mon, 21 Aug 2000 02:52:40 +0000 |
| Subject: | Re: PHP 4.0 Bug #6267 Updated: parse_str fails to parse strings | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-29993@lists.php.net to get a copy of this message | ||
On 21 Aug 2000, Bug Database wrote:
> ID: 6267
> User Update by: ianm@judcom.nsw.gov.au
> Status: Open
> Bug Type: Misbehaving function
> Description: parse_str fails to parse strings
>
> UPDATE
>
> After reading comments by several people that they couldn't reproduce the problem, I
> wondered if it was a local configuration problem.
>
> I backed up my current php.ini and copied php.ini-optimized as the new php.ini, and I still got
> the parse_str failure. I then replaced that php.ini with php.ini-dist ... and parse_str worked fine!
>
> NB: I have been using a modified version of php.ini-optimized as my php.ini.
>
> CONCLUSION (thus far)
>
> The php.ini-optimized that comes with PHP 4.0.x definitely causes parse_str to fail on my PCs,
> but the php.ini-dist works fine. I had used php.ini-optimized because it says it is optimized for
> 4.0.x and it is "recommended".
>
> Does this help?
Where does it say that php-optimized is reccomended? We need to fix the
docs. php-optimized should only be used by people who know exactly what
they are doing.
parse_str() will not work with register_globals turned off.
-Rasmus