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.
-Original Message-
From: Christopher Ditty [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How to Return 403 Forbidden headers
header('HTTP/1.0 403 Forbidden');
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Thanks, but it returns a blank page.
Matt Schroebel [EMAIL PROTECTED] 03/27/03 09:52AM
-Original Message-
From: Christopher Ditty [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How to Return 403 Forbidden headers
header
-Original Message-
From: Christopher Ditty [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:59 AM
To: Matt Schroebel; [EMAIL PROTECTED]
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
Schroebel; [EMAIL PROTECTED]
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');
?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-
From: Christopher Ditty [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 10:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How to Return 403 Forbidden headers
header('HTTP/1.0 403 Forbidden');
--
03/27
-Original Message-
From: Christopher Ditty [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 11:15 AM
To: Matt Schroebel
Subject: RE: [PHP] How to Return 403 Forbidden headers
Try it in Netscape 7 if you have it.
6.5 showed blank, and if you add html it shows up
Almost.
It's not the Location Header you want to play with.
header(HTTP/1.0 403 Forbidden);
will do the job.
Serge.
On Thu, 27 Mar 2003 09:41:57 -0600
Christopher Ditty [EMAIL PROTECTED] wrote:
I have a customer that wants to return a 403 Forbidden header/page when
certain conditions are
To: [EMAIL PROTECTED]
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
9 matches
Mail list logo