You are here: Re: Passing Query String to Internet Explorer « All PHP « IT news, forums, messages
Re: Passing Query String to Internet Explorer

Posted by fiziwig on 09/28/85 11:43

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация