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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]