note 53916 rejected from function.header by sean

From: Date: Fri, 17 Jun 2005 00:34:44 +0000
Subject: note 53916 rejected from function.header by sean
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-90562@lists.php.net to get a copy of this message
Note Submitter: bubazoo at yahoo dot com ---- whenever I use header, like in <?php header('Content-Type: image/jpeg'); ?> similar to session_start, I cannot do anything above the "header" line, not even an include('header.php') otherwise it says "header already sent" so how do you get around that? I can't put <head> <title> </title> </head> etc before the "header()" tag or it gives me an error saying "header already sent" how do you get around this?

« previous php.notes (#90562) next »