Re: How to Return 403 Forbidden headers
| From: | Alexander Weber | Date: | Thu, 27 Mar 2003 16:19:44 +0000 |
| Subject: | Re: How to Return 403 Forbidden headers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141251@lists.php.net to get a copy of this message | ||
For sure, has to be sent before any text and has to be part of a PHP script!
Alex
"Matt Schroebel" <MSchroebel@hsus.org> schrieb im Newsbeitrag
news:D4DB668A680B2549AE977FB0B193E2E86DD722@email.hsus.org...
> -----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');
?>