摘要:
function getSizeFile($url) { if (substr($url,0,4)=='http') { $x = array_change_key_case(get_headers($url, 1),CASE_LOWER); if ( strcasecmp($x[0], 'HTTP/1.1 200 OK') != 0 ) { $x = $x['content-length'][1]; } else { $x = $x['content-length']; } } else { $x = @filesize($ur 阅读全文
posted @ 2011-11-09 18:36
Lux.Y
阅读(281)
评论(0)
推荐(0)
摘要:
function get_percentage ( $total, $analized ){ return round ( $analized / ( $total / 100 ), 2 ).'%';} 阅读全文
posted @ 2011-11-09 01:23
Lux.Y
阅读(175)
评论(0)
推荐(0)

浙公网安备 33010602011771号