Re: [PHP] Generating a 404 status message with header()

2005-08-09 Thread Jasper Bryant-Greene
Sebastian wrote: yeah sorry, i must of deleted the original topic and all i had was the followups.. anyway, what do you want, the cake and eat it too? why two types of 404's? i mean you either use ErrorDocument or use php headers.. i guess i dont understand why use both.. to send 404 header

Re: [PHP] Generating a 404 status message with header()

2005-08-09 Thread Sebastian
Jasper Bryant-Greene wrote: Sebastian wrote: Paul Waring wrote: On Mon, Aug 08, 2005 at 04:37:12PM -0400, Eric Gorr wrote: Should it? Is it possible to write a doesexists.php script which would cause the 404 directive to be triggered? I also tried: header("Status: 404 Not Found"); but

Re: [PHP] Generating a 404 status message with header()

2005-08-09 Thread Jasper Bryant-Greene
Sebastian wrote: Paul Waring wrote: On Mon, Aug 08, 2005 at 04:37:12PM -0400, Eric Gorr wrote: Should it? Is it possible to write a doesexists.php script which would cause the 404 directive to be triggered? I also tried: header("Status: 404 Not Found"); but this did not work either.

Re: [PHP] Generating a 404 status message with header()

2005-08-09 Thread Sebastian
Paul Waring wrote: On Mon, Aug 08, 2005 at 04:37:12PM -0400, Eric Gorr wrote: Should it? Is it possible to write a doesexists.php script which would cause the 404 directive to be triggered? I also tried: header("Status: 404 Not Found"); but this did not work either. Try searching th

Re: [PHP] Generating a 404 status message with header()

2005-08-09 Thread Eric Gorr
Paul Waring wrote: On Mon, Aug 08, 2005 at 04:37:12PM -0400, Eric Gorr wrote: Should it? Is it possible to write a doesexists.php script which would cause the 404 directive to be triggered? I also tried: header("Status: 404 Not Found"); but this did not work either. Try searching the archi

Re: [PHP] Generating a 404 status message with header()

2005-08-09 Thread Paul Waring
On Mon, Aug 08, 2005 at 04:37:12PM -0400, Eric Gorr wrote: > Should it? Is it possible to write a doesexists.php script which would > cause the 404 directive to be triggered? > > I also tried: header("Status: 404 Not Found"); but this did not work either. Try searching the archives for this list

Re: [PHP] Generating a 404 status message with header()

2005-08-08 Thread Richard Davey
Hello Eric, Monday, August 8, 2005, 9:37:12 PM, you wrote: EG> I have another file (doesexist.php) with the contents: EG> header("HTTP/1.0 404 Not Found"); ?>> EG> If I enter into my browser: EG> http://mydomain.com/doesexist.php EG> I get a blank page. Apparently, this does not trigger th

Re: [PHP] Generating a 404 status message with header()

2005-08-08 Thread John Nichel
Eric Gorr wrote: I've got an ErrorDocument directive defined in my htaccess file. If I, for example, enter into my browser: http://mydomain.com/doesnotexist.html the 404 directive is triggered and 404 document correctly comes up. I have another file (doesexist.php) with the contents: If

[PHP] Generating a 404 status message with header()

2005-08-08 Thread Eric Gorr
I've got an ErrorDocument directive defined in my htaccess file. If I, for example, enter into my browser: http://mydomain.com/doesnotexist.html the 404 directive is triggered and 404 document correctly comes up. I have another file (doesexist.php) with the contents: If I enter into my br