ECTED]
Subject: Re: [PHP] sending a 404 error
Hello Michael,
Sunday, September 16, 2001, 9:05:35 AM, you wrote:
MAP> Is it possible to invoke the server 404 error error from php?
MAP> Where I would like to do such a thing is
MAP> http://24
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
Hello Michael,
Sunday, September 16, 2001, 9:05:35 AM, you wrote:
MAP> Is it possible to invoke the server 404 error error from php?
MAP> Where I would like to do such a thing is
MAP> http://24.5.29.77:10080/encryption/index.phps
MAP> I would like to replace the line
MAP> die ("The fi
Is it possible to invoke the server 404 error error from php?
Where I would like to do such a thing is
http://24.5.29.77:10080/encryption/index.phps
I would like to replace the line
die ("The file you wish to download does not exist");
with instead an invocation of the http 404 error.
4 matches
Mail list logo