Re: How to Return 403 Forbidden headers

From: Date: Thu, 27 Mar 2003 17:01:58 +0000
Subject: Re: How to Return 403 Forbidden headers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141259@lists.php.net to get a copy of this message
This this point the only thing you have done is overridden the status code. You still have to send something to the browser. HTTP/1.0 403 Forbidden is not a page or a location. It's a result code. You could then do something as simple as: print "You are forbidden to view this page"; Serge. On Thu, 27 Mar 2003 09:58:49 -0600 "Christopher Ditty" <cditty@mlgw.org> wrote: > Thanks, but it returns a blank page. > > >>> "Matt Schroebel" <MSchroebel@hsus.org> 03/27/03 09:52AM > >>> >>> > > > -----Original Message----- > > From: Christopher Ditty [mailto:cditty@mlgw.org] > > Sent: Thursday, March 27, 2003 10:42 AM > > To: php-general@lists.php.net > > Subject: [PHP] How to Return 403 Forbidden headers > > header('HTTP/1.0 403 Forbidden'); > > > ------------------------------------------------------------------------------ > 03/27/2003, 09:59:06 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. > > ============================================================================== > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#141259) next »