|
Posted by Erwin Moller on 12/15/05 18:02
Laurent Compere wrote:
<snip>
> This page cannot be displayed in the browser, however it displays
> correctly under IE, Mozilla, Netscape.
> Nothing surprising till here. What's surprising is that if copy-paste the
> source code in a new file (.htm), this page is then displayed correctly
> without any problem).
Hi,
Hard to say, but if the same sourcecode is working when saved as a
html-file, your problem could be fragmented datapackages send by the
webserver.
Some browsers, even IE on some OS's, cannot handle that very well.
Try putting above your script: ob_start();
That enables output buffering, meaning PHP will send the output in one
stream.
I may solve your problem.
(As you understand: this is just guessing)
If that doesn't help try this:
Rename the saved sourcecode to test.php instead od test.html.
Maybe your (crippled) browser only wants to display stuff named .html.
Both can be tested very quickly.
Good luck,
Erwin Moller
Navigation:
[Reply to this message]
|