10.7.9
My PHP script works on IE and Lynx, but on Netscape some of
my output is missing. When I do a "View Source" I see the
content in IE but not in Netscape.
Netscape is more strict regarding html tags (such as tables) then
IE. Running your html output through a html validator, such as
validator.w3.org , might
be helpful. For example, a missing </table> might cause this.
Also, both IE and Lynx ignore any NULs (
\0
) in
the HTML stream, Netscape does not. The best way to check for this is
to compile the command line version of
PHP (also known as the CGI version) and run your script from the
command line. In *nix, pipe it through
od -c
and look
for any
\0
characters. If you are on Windows you need
to find an editor or some other program that lets you look at binary files.
When Netscape sees a NUL in a file it will typically not output anything
else on that line whereas both IE and Lynx will.
|