How to Return 403 Forbidden headers
| From: | Christopher Ditty | Date: | Thu, 27 Mar 2003 15:41:57 +0000 |
| Subject: | How to Return 403 Forbidden headers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-141240@lists.php.net to get a copy of this message | ||
I have a customer that wants to return a 403 Forbidden header/page when
certain conditions are met. I looked through the online manual and all
the examples listed would not work.
This is what I am using.
header("Location: HTTP/1.0 403");
PHP tried to send the user to a "HTTP/1.0 403" webpage.
Any ideas?
CDitty
------------------------------------------------------------------------------
03/27/2003, 09:42:13 AM
This e-mail and any attachments represent the views and opinions of only the sender and are not
necessarily those of Memphis Light, Gas & Water Division, and no such inference should be made.
==============================================================================