Close- this is what actually worked-

header ("HTTP/1.1 404 Not Found");

But thanks- it got me on the right track, anyway (i wasn't aware server responses were 
sent from the header)

It doesn't log it in the error_log or send the 404 error page, but i have a custom 
error page- so i just include() it... works beautifully, and agents like wget 
understand there's nothing to grab.

On Sun, 16 Sep 2001 20:44:02 -0800
GATop <[EMAIL PROTECTED]> wrote:

*snip*
> 
> MAP> I would like to replace the line
> MAP>         die ("The file you wish to download does not exist");
> 
> MAP> with instead an invocation of the http 404 error.
> 
*snip
> 
> Yes You can
> 
> header ("404 Not Found");
> 
> should work
> 
> -- 
> Best regards,
>  GATop                            mailto:[EMAIL PROTECTED]
> 
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-
Michael A. Peters
http://24.5.29.77:10080/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to