RE: [PHP] sending a 404 error

2001-09-17 Thread Tim Ward
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

Re: [PHP] sending a 404 error

2001-09-16 Thread Michael A. Peters
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

Re: [PHP] sending a 404 error

2001-09-16 Thread GATop
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

[PHP] sending a 404 error

2001-09-16 Thread Michael A. Peters
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.