Posted by Michel Angelo on 09/28/20 11:43
The problem is solved ..
I verified the html with w3c and a closing form tag was in the middle.
Internet explorer did not know how to interpret it so stopped, but Firefox
did not seem to be bothered.
I did modified the code to use header() instead.
Thank you for your input.
"fiziwig" <fiziwig@yahoo.com> wrote in message
news:1143420385.151307.220460@e56g2000cwe.googlegroups.com...
> header has to be executed before ANY bytes are sent to the browser.
> Before <html>, and you can't even have a single blank before the first
> <? or you get the message "headers already sent...", so you can't put
> it in the same place in the code because if you are writing a <meta...>
> then you've already sent the <htmL> and <head> to the broswer. Too late
> to use header by then.
>
> FWIW: I cut and pasted your code into a dummy php file and ran from my
> host though my IE 6.0 and it worked fine. I'm assuming you did open and
> close with <head>...</head>
>
> But I'd still go with the header solution because it's not brower
> sensitive.
>
> --gary
>
[Back to original message]
|