note 28931 added to function.header
| From: | askgopal at sify dot com | Date: | Tue, 28 Jan 2003 12:36:32 +0000 |
| Subject: | note 28931 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42921@lists.php.net to get a copy of this message | ||
Is there any way by which I check whether my header() call was successful or not?
// ...
$rc = header('Content-Type: text/plain');
var_dump($rc); // outputs NULL!
Inspite of having the return value as int, the header() function always returns NULL. Why?
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+28931
http://master.php.net/manage/user-notes.php?action=delete+28931
http://master.php.net/manage/user-notes.php?action=reject+28931