Re: header() behavior
| From: | Richard Lynch | Date: | Wed, 10 Oct 2001 01:39:00 +0000 |
| Subject: | Re: header() behavior | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70564@lists.php.net to get a copy of this message | ||
If you send a header() for a given header with, like, nothing there, I think
PHP will suppress the header entirely:
header("Some-header: ");
I *believe* this will cause PHP to send no "Some-header: " header at all...
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Martin Lindhe <martin@humany.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Tuesday, October 09, 2001 11:27 AM
Subject: header() behavior
> 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
>
> /Martin