Re: LDAP specific?

From: Date: Thu, 14 Nov 2002 10:14:52 +0000
Subject: Re: LDAP specific?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124399@lists.php.net to get a copy of this message
Tony Earnshaw wrote:
frame. To do this, PHP needs to be fed 'header("Content-type: image/jpeg")'. This can be put more or less anywhere in the very short script used for showing the jpeg and works. However, if I try to put any more html code into the script, i.e. 'print <html>';, print '<body>'; etc, *anywhere*, I get a "headers already sent" error. So I can't The headers must be the first thing that is sent to the browser. Do all your other html afterwards, or use output buffering.
HTH Chris

« previous php.general (#124399) next »