Re: Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?

From: Date: Fri, 18 May 2001 11:43:02 +0000
Subject: Re: Netscape 6, What a piece of s$#@ ,anyone else had problems with php and Netscape 6?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-53394@lists.php.net to get a copy of this message
All, Billy Harvey wrote: > > 2. If I copy the html outputted to the browser and past it into an html file > > it loads good. When I say I suspect this to be something wrong with PHP I > > mean that Netscape doesn't play good with PHP.(Not that PHP has a bug in it) > Neither Netscape nor any other browser has any clue that PHP is being > used on the server. All broswers simply interpret the html, > javascript, java, etc.that gets sent to them. PHP is not a factor in > whatever is causing a browser to misbehave. For Netscape it's often I was used to think on that way... Some time ago I have problems with Netscape 6 and PHP. It was not a HTML error but something related to PHP/Netscape 6. The problem was in showing correctly the source code. I had a page that includes another one, like a header/menu/footer main that includes a data area. If I just put the include (or require code) following the page sequence, that's ok, the Netscape 6 shows correctly the source. If I add something like (if (isSet($var) && $var == 10) {}) before the include (or require) and $var exists and has value 10, the parser will process the include, show the page, but Netscape don't show the source code of this part. This is not a big deal when dealing with simple pages, but, if you have a form on this page, it will not work right since after the page comes to the browser and is shown, it doesn't recognize it anymore. It's very strange but I tested it and it happened that way...changing something on PHP code, changes the behaviour of the browser.. Testing on Netscape 4 or IE, just return the same source code for both implementations (with and without the new 'if'). Any comments on this? -- Lucas Persona

« previous php.general (#53394) next »