Re: Netscape 6, What a piece of s$#@ ,anyone else hadproblems with php and Netscape 6?
| From: | Lucas Persona | Date: | Fri, 18 May 2001 17:38:43 +0000 |
| Subject: | Re: Netscape 6, What a piece of s$#@ ,anyone else hadproblems with php and Netscape 6? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53459@lists.php.net to get a copy of this message | ||
Hy there!
DAve Goodrich wrote:
> Have you tried this test with your code?
> http://www.php.net/FAQ.php#7.8
> The FAQ does not give a solution, but the problem is known to have affected
> only select users. The problem is no-one seems to know what the selection
> criteria is! Some people have the problem, some do not.
Yeah..I did it and no '\0' was returned. Then I traced everything to
find out what was happening.
The final briefing: :)
Netscape 6.x handles in a different way some actions.
The reason that Netscape doesn't show a correct Source is because
Netscape don't use the currently showed page to get the source. It does
another GET to get (get-get oops :)) the source.
This way the 'View Source' option do another server access and this
time
don't send the POST variables needed.
The browser request:
X.X.X.X - - [18/May/2001:13:58:44 -0300] "POST /netscape6.1.php
HTTP/1.1" 200 208 "http:
//server.com/netscape6.php" "Mozilla/5.0 Gecko/20010131 Netscape6/6.01"
The 'View Source' request:
X.X.X.X - - [18/May/2001:13:59:17 -0300] "GET /netscape6.1.php HTTP/1.1"
200 173 "-" "Mo
zilla/5.0 Gecko/20010131 Netscape6/6.01"
Another problem on this subject is when creating a FORM that, via a
POST
method will define a download.
Netscape 6.x do the POST and ALSO DO A GET, so the result for the
download
is wrong.
Netscape X.xx or IE X.xx do just one POST and then download the file.
I don't know if there is a way to change this Netscape behaviour... or
change
everything to GET style ;)
Well..I think this is the answer for that 'strange behaviou'...
Thanks for everyone that helped on that...
See you,
--
Lucas Persona ICQ #17635618
lpersona@widesoft.com.br +55 19 451 6300
-------------------------------------------------------
Widesoft Sistemas Ltda http://www.widesoft.com.br