系统版本比较
mixed version_compare ( string version1, string version2 [, string operator] )
version_compare('5.1','<'); //比较当前版本是否小于5.1
是否开启自动/
get_magic_quotes_gpc()
return 1 on: will add slash.
return 0 off:willn't add.
if(get_magic_quotes_gpc()) {
$cmd = stripslashes($_REQUEST['cmd']);
}
设置php.ini
ini_set("max_execution_time",0);