Bug #1504: New function to set the http status
| From: | lauritz2 at hotmail dot com | Date: | Tue, 08 Jun 1999 01:09:00 +0000 |
| Subject: | Bug #1504: New function to set the http status | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6692@lists.php.net to get a copy of this message | ||
From: lauritz2@hotmail.com
Operating system: Linux
PHP version: 3.0.8
PHP Bug Type: Feature/Change Request
Bug description: New function to set the http status
When having a line like this "ErrorDocument 404 /404.php3", in your apache httpd.conf, the
first line of the HTTP respone would be something like "HTTP/1.1 404 Object Not Found". It
would be nice to be able to change this to fx. "HTTP/1.1 200 OK".
Right now php only makes it possible to add new lines after the first line of the header, and doing
a header("status: 200 OK"); will not work on all clients.