This page will be included all the other page!
Who can give me some suggestions?
Thank you!
All my friends !
Please give me your opinion aboat the efficiency and security in your code!
<?php
error_reporting(E_ERROR | E_PARSE);
set_magic_quotes_runtime(0);
$t_array = explode(' ',microtime());
$P_S_T = $t_array[0] + $t_array[1];
unset($_ENV,$HTTP_ENV_VARS,$_REQUEST,$HTTP_POST_VARS,$HTTP_GET_VARS,$HTTP_POST_FILES,$HTTP_COOKIE_VARS);
if(!get_magic_quotes_gpc()){
Add_S($_POST);
Add_S($_GET);
Add_S($_FILES);
Add_S($_COOKIE);
}
$db_obstart == 1 ? ob_start('ob_gzhandler') : ob_start();
function Add_S(&$array){
foreach($array as $key=>$value){
if(!is_array($value)){
$array[$key]=addslashes($value);
}else{
Add_S($array[$key]);
}
}
}
?>