Re: script timeout

From: Date: Wed, 25 Apr 2007 22:20:26 +0000
Subject: Re: script timeout
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-253793@lists.php.net to get a copy of this message
On Wed, April 25, 2007 4:27 am, Henning Eiben wrote: > I have a small sample-application, that uses smarty for the > presentation > layer. Unfortunately I might encounter script-timeouts (not > necessarily > from smarty, could also be the DB-connection or something). In this > case > I would like to return an appropriate HTTP status-code (might be 500 > or > something). Right now I just receive a blank page, as well as a HTTP > status-code of 200, which would indicate that everything is OK! > > So what do I need to do? http://php.net/set_error_handler http://php.net/header -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#253793) next »