RE: [PHP] How to Return 403 Forbidden headers
| From: | Matt Schroebel | Date: | Thu, 27 Mar 2003 16:07:12 +0000 |
| Subject: | RE: [PHP] How to Return 403 Forbidden headers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-141248@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Christopher Ditty [mailto:cditty@mlgw.org]
> Sent: Thursday, March 27, 2003 10:59 AM
> To: Matt Schroebel; php-general@lists.php.net
> Subject: RE: [PHP] How to Return 403 Forbidden headers
>
>
> Thanks, but it returns a blank page.
Works for me in I.E 6.
<?php
header('HTTP/1.0 403 Forbidden');
?>