<< |  >>
#7792 Dodano: 26-03-2015 18:15. Głosów: 124
If you ever want the public to use your site, always design it to handle errors in a way that will allow them to continue using it if possible. If it's not possible and the site really is broken, make sure that you find out so that you can fix it. die() by itself won't do either.

If a supermarket freezer breaks down, a customer who wanted to buy a tub of ice cream doesn't expect to be kicked out of the building.

http://php.net/manual/en/function.die.php
<< |  >>