RE: [PHP-DEV] Redirect patch URL

From: Date: Wed, 27 Nov 2002 00:39:59 +0000
Subject: RE: [PHP-DEV] Redirect patch URL
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-91789@lists.php.net to get a copy of this message
At 00:51 27-11-2002, John Coggeshall wrote:
Regarding this proposal, what happens if the url being redirected to has an error? Or if it's down for some reason, how can I still see my errors without bugging the sysadmin? Also, will CLI and CGI be affected too? This is still an issue (infinite loops regarding errors On the error page)... I am trying to figure out a clean Way of flagging that errors occuring on the error page Should not be redirected but rather dumped as normal errors.
I really don't see, why you pursue redirection. First of all, last time I looked, redirects do not have a referer. So your statement about being able to track the cause of the error, assumes that whatever error occurs, the stack which contains PHP_SELF must still be available and you must append that to the URI. Secondly - you cannot get any information about the state of the error, even if it IS available. We should really look more closely at what ARE fatal errors and why it should stop execution. Redirection is just a hack, which forces behavior on webservers i.s.o. providing end-users with the methods to handle problems any way they like. IMO that is what PHP is about: enabling end-users to accomplish tasks, not doing it for them and taking away control. With kind regards, Melvyn Sopacua <?php include("not_reflecting_employers_views.txt"); ?>

« previous php.dev (#91789) next »