|
|
|
|
![]() ![]() |
Apr 10 2008, 04:13 PM
Post
#11
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,081 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
Add these lines to the php code block while Debugging and remove them for a live site:
CODE ini_set("display_errors", 1); error_reporting(E_ALL); or, wrap it with an IF block and set a variable via a config file to define whether the site is live or not. CODE $live = 'true'; if ( $live == 'true' ) { ini_set("display_errors", 1); error_reporting(E_ALL); } *untested* |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 12th October 2008 - 06:41 PM |