PEAK XOOPS - redirect or die() :-) in englishin japanese

Archive | RSS |
PHP
PHP : redirect or die() :-)
Poster : GIJOE on 2006-05-18 18:14:07 (10188 reads)

in englishin japanese
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.


Printer friendly page Send this story to a friend

Comments list

gigamaster  Posted on 2006/5/19 22:56
I'll test it locally.

Thanks
Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!