By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,772 Members | 1,272 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,772 IT Pros & Developers. It's quick & easy.

output sent and location header

P: n/a
there has been a thread about this topic a couple of days ago, but
nothing was really solved there

http://groups-beta.google.com/group/...148bd281577091

i just stumbled abou the same thing, so i take up the question again.

i have a page that sends output (via session_start(), the cookie is
there) and calls a location header afterwards. against all
expectations it works.

i put a check in

if(!headers_sent())
{
header("Location: URI);
}

but headers_sent() obviously throws FALSE, so the location header is
sent.

any ideas anyone?

micha
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.