However, please note that the error message can be a security gap in our application if the user can view the message. So I'll give you an example of how to hide all error messages in PHP level.
Put a single line of code below at the very top of your code.
error_reporting(0);Note: Put the code only if your application is ready to be published, because if you put the code during the development it will be difficult for you in debugging your application and you will often find blank screen.

0 komentar:
Posting Komentar