die() exits the script so it is not the best for forms.