摘要:
取得domobj的实际高度domobj.clientHeight||domobj.documentElement.clientHeight;使用socket下载一个url,默认自动尝试三次.private function getSContent($url,$retry=0,$maxRetry=3){$url_param = parse_url($url);if($retry>=$maxRetry){echo "Download $url failed!";return false;}else{$fp = fsockopen($url_param['host& 阅读全文