Thursday, December 30, 2010

HaPpY nEw YeAr 2011

Wishing you all a Happy & Prosperous New Year 2011...










Tuesday, December 7, 2010

Display Errors and Log errors in PHP

HTACCESS code to display errors(i.e Warnings & Fatal Errors) while running a PHP file in server is shown below.

php_flag display_errors off

HTACCESS code to log errors in Log file is php_flag log_errors. To off the Log files in the server we need to write the HTACCESS code as shown below.

php_flag log_errors off


To off the Errors displayed & also to OFF the log files the following HTACCESS code is used.


Options +FollowSymlinks
php_flag display_errors off
 
php_flag log_errors off