professional-sql-09-lib-common.php / php
<?php // set true if production environment else false for development define ('IS_ENV_PRODUCTION', true); // configure error reporting options error_reporting(E_ALL | E_STRICT); ini_set('display_errors', !IS_ENV_PRODUCTION); ini_set('error_log', 'log/phperror.txt'); // set time zone to use date/time functions without warnings date_default_timezone_set('America/New_York'); // compensate for magic quotes if necessary if (get_magic_quotes_gpc()) { function _stripslashes_rcurs(top = true) { variable as value) { top) ? key); key] = (is_array(value, false) : stripslashes(clean_data; } _GET); _POST); // _REQUEST); // _COOKIE); } ?>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.