redirect or die() :-)
Date 2006-05-18 18:14:07 | Category: PHP
|
There are too many applications like XOOPS using redirection when error occurred.
They should be relaced into die() without conditions after normal post transactions.
If you write die() intead of redirection in error handling: - Users can read the error message thoroughly. - Users can return the previous page immediately. - You don't have to write codes for redirect.
|
|