| Current Path : /hdd/hdd11/www/vlevski/test/includes/ |
| Current File : /hdd/hdd11/www/vlevski/test/includes/common.php |
<?php
error_reporting(E_ALL ^ E_NOTICE);
header('Content-type: text/html; encoding: UTF-8');
function __autoload($className) {
if (file_exists(CLASSES_DIR . DIRECTORY_SEPARATOR . $className . '.class.php')) {
include CLASSES_DIR . DIRECTORY_SEPARATOR . $className . '.class.php';
}
}
function sanitize($variable) {
return htmlspecialchars(addslashes(trim($variable)));
}