"#ff0000", "en"=>"FAIL", "chi"=>"失敗"), array ("color"=>"#669900", "en"=>"OK", "chi"=>"成功") ); $recommend_ary = array ( array ("color"=>"#ff0000", "en"=>"BAD", "chi"=>"欠佳"), array ("color"=>"#333333", "en"=>"GOOD", "chi"=>"良好"), array ("color"=>"#669900", "en"=>"BEST", "chi"=>"佳") ); $onoff_ary = array ( array ("color"=>"#ff0000", "en"=>"OFF", "chi"=>"關閉"), array ("color"=>"#333333", "en"=>"ON", "chi"=>"開啟"), ); $ini = ini_get_all(); /*--| REQUIREMENT LIST |--*/ /* PHP VERSION */ $version = phpversion(); $compare = version_compare("5", $version, "<="); $check = ''.$status_ary[$compare][$lang].''; $requirement_list .= 'PHP Version 5Version '.$version.''.$check.''; /* GD VERSION */ $gd_info = gd_info(); $version = preg_replace('%[^0-9\.]%', '', $gd_info["GD Version"]); $compare = version_compare("2", $version, "<="); $check = ''.$status_ary[$compare][$lang].''; $requirement_list .= 'GD Library Version 2Version '.$version.''.$check.''; /* MySQL VERSION */ $row = $db->getrow("select version() as `result`"); $version = preg_replace('%[^0-9\.]%', '', $row["result"]); $compare = version_compare("4", $version, "<="); $check = ''.$status_ary[$compare][$lang].''; $requirement_list .= 'MySQL 4Version '.$version.''.$check.''; /* SHORT OPEN TAG */ $compare = $ini["short_open_tag"]["global_value"]; $check = ''.$status_ary[$compare][$lang].''; $requirement_list .= 'short_open_tag - ON'.$onoff_ary[$compare][$lang].''.$check.''; /* FILE UPLOADS */ $compare = $ini["file_uploads"]["global_value"]; $check = ''.$status_ary[$compare][$lang].''; $requirement_list .= 'file_uploads - ON'.$onoff_ary[$compare][$lang].''.$check.''; /*--| RECOMMENDED LIST |--*/ /* INI_GET */ $query = array ( array ( "name"=>"max_execution_time", "recommend"=>30 ), array ( "name"=>"max_input_time", "recommend"=>60 ), array ( "name"=>"post_max_size", "recommend"=>"100M" ), array ( "name"=>"upload_max_filesize", "recommend"=>"100M" ), array ( "name"=>"memory_limit", "recommend"=>"50M" ) ); foreach ( $query as $k => $ary ) { $r = (int) $ary["recommend"]; $l = (int) $ini[$ary["name"]]["local_value"]; $g = (int) $ini[$ary["name"]]["global_value"]; $compare = ( $r <= $l && $r <= $g ) ? 2 : ( ($r <= $l || $r <= $g) ? 1 : 0 ); $check = ''.$recommend_ary[$compare][$lang].''; $recommended_list .= ''.$ary["name"].''.$ary["recommend"].''.$ini[$ary["name"]]["local_value"].''.$ini[$ary["name"]]["global_value"].''.$check.''; } ?> Back-End System Requirement - <?php echo $contact_name;?>
Login Information
Login Name
Password ******** [ Change ]
Last Login
IP Address
Server Information
Server Date
Server Time
Server Timezone GMT
Server Host
System Requirement
PHP Version 5 Version
GD Version 2 Version
MySQL 4 Version
FreeType Support ON":"OFF")?>
Short Open Tag ON":"OFF");?>
File Uploads ON":"OFF");?>
Excel Support ON":"OFF")?>
Copyright 2000- Smart-Info Limited. All Rights Reserved.