quarta-feira, 30 de janeiro de 2013

Alert - PHP errors enabled

You can disable display_errors from your site’s php.ini, from the PHP code itself or from the .htaccess as follows:

php.ini
display_errors = ‘off’
log_errors = ‘on’

.htaccess
php_flag display_errors off
php_flag log_errors on

Turn off error reporting using PHP code in your PHP website
  error_reporting(0); // Turn off all error reporting
 ?>

fonte: http://www.websitedefender.com/web-security/php-errors-enabled/

Nenhum comentário:

Postar um comentário