Re: header() behavior
| From: | Christian Reiniger | Date: | Wed, 10 Oct 2001 21:03:56 +0000 |
| Subject: | Re: header() behavior | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70732@lists.php.net to get a copy of this message | ||
On Tuesday 09 October 2001 18:27, Martin Lindhe wrote:
> Hello. We try to make a php-powered WML page. We need to send our own
> header, and we dont want the default one, header() only adds elements
> to the header sent, we dont want the header at all, so we can generate
> our own. Is this possible? PHP 4.0.6
header () also overrides default ones. Because of that you can e.g. do a
header ("HTTP/1.1 404 Not Found");
although PHP usually sends a "HTTP/1.1 200 Ok"
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsite.dk/)
void sleep(){for(long int sheep=0;!asleep();sheep++);}