Re: PHP 4.0 Bug #6267: parse_str fails to parse strings

From: Date: Mon, 21 Aug 2000 00:20:43 +0000
Subject: Re: PHP 4.0 Bug #6267: parse_str fails to parse strings
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-29980@lists.php.net to get a copy of this message
I´m on CGI(apache), perhaps CGI specific? Brad Atkins wrote:
I get |2|3| on PHP 4.0pl2 on Windows with ISAPI Brad Atkins http://www.youreshop.com ----- Original Message ----- From: "Rasmus Lerdorf" <rasmus@php.net> To: <ianm@judcom.nsw.gov.au> Cc: <php-dev@lists.php.net> Sent: Sunday, August 20, 2000 8:14 PM Subject: Re: [PHP-DEV] PHP 4.0 Bug #6267: parse_str fails to parse strings Works fine on Linux. I guess it is a Win32-specific problem? However there is no Windows-specific code anywhere near parse_str() as far as I can see. Could somebody who will admit to having a Windows box please check this? -Rasmus On 21 Aug 2000 ianm@judcom.nsw.gov.au wrote:
From:             ianm@judcom.nsw.gov.au
Operating system: Windows 98SE and NT 4.0 workstation
PHP version:      4.0.1pl2
PHP Bug Type:     Misbehaving function
Bug description: parse_str fails to parse strings This is, unfortunately, a reposting of #5991 which has been marked as
closed - no feedback. I DID try to post feedback, but was unable to (I had no password) - I even emailed the person who posted the request for feedback, but got no answer. As this problem with parse_str is unresolved, and I am working on an enterprise project, I am persisting with the bug report.
PROBLEM WITH PARSE_STR -------------------------------- Example, if I embed the following script into PHP code: $alpha = 'beta=2&gamma=3'; parse_str($alpha); echo "|$beta|$gamma|\n"; All I see is '|||' when I view the output. The code works fine under PHP
3.0 on Linux. All my other PHP code works fine.
I have tested this both in a web page from Peer Web Server(ISAPI) under
Win NT 4.0
and at the command prompt running a stand-alone script through php.exe
under NT 4.0 and Win 98 SE
- with the same result. I got the same results with PHP 4.0.0 and
4.0.1pl2, which I downloaded and tried as requested in #5991.
BTW, I downloaded the Win32 binaries from www.Zend.com - I did not
compile my own.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#29980) next »