2017年3月6日

摘要: _zlib_oc = @ini_get('zlib.output_compression'); if(file_exists($mimes)) { include $mimes; } } function _display($output = '') { global $BM, $C... 阅读全文
posted @ 2017-03-06 17:56 echoshao 阅读(117) 评论(0) 推荐(0) 编辑
 
摘要: 0)?time()+$expire:0; } setcookie($prefix.$name, $value, $expire, $path, $domain, $secure); } function ip_address() { if($this->ip_address != FALSE) {... 阅读全文
posted @ 2017-03-06 17:55 echoshao 阅读(99) 评论(0) 推荐(0) 编辑
 
摘要: <?php /** * */ class URI { function _fetch_uri_string() { if(strtoupper($uri_protocol) == 'AUTO') { if(php_sapi_name() == 'cli') { ... 阅读全文
posted @ 2017-03-06 17:54 echoshao 阅读(109) 评论(0) 推荐(0) 编辑
 
摘要: expire; $secure_cookie = 1; if($secure_cookie) { $req = isset($_SERVER['HTTPS'])?$_SERVER['HTTPS']:FALSE; } setcookie($cookiename, $hash, $expire, ... 阅读全文
posted @ 2017-03-06 17:54 echoshao 阅读(130) 评论(0) 推荐(0) 编辑
 
摘要: <?php /** * */ class Utf8 { function __construct() { global $CFG; if( preg_match('/./u', '') === 1 AND function_exists('iconv') AND ... 阅读全文
posted @ 2017-03-06 17:53 echoshao 阅读(87) 评论(0) 推荐(0) 编辑
 
摘要: 'OK', 201 => 'Created', 202 => 'Accepted', 203 => 'Non-Authoritative Infomation', 204 => 'No Content', 205 => 'Reset Content', ... 阅读全文
posted @ 2017-03-06 17:52 echoshao 阅读(133) 评论(0) 推荐(0) 编辑