Re: LDAP specific?

From: Date: Thu, 14 Nov 2002 13:16:38 +0000
Subject: Re: LDAP specific?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-124421@lists.php.net to get a copy of this message
tor, 2002-11-14 kl. 11:14 skrev Chris Hewitt: > >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. Thanks for the answer, Chris. I realise this, but that just does not work - been there, seen it, done it. Wherever (even as 1st line) *any* PHP4 header stuff is put in the script, adding html code later results in the same "headers already sent" error. That's why I asked for a "workaround," by name. Best, Tony -- Tony Earnshaw Cricketers are strange people. They wake up in October, only to find that their wives had left them in May. e-post: tonni@billy.demon.nl www: http://www.billy.demon.nl

« previous php.general (#124421) next »