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 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.
> 
> ==============================================================================
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to