Home  >  Article  >  Backend Development  >  php只请求网页文件的大小,不返回网页内容,解决方案

php只请求网页文件的大小,不返回网页内容,解决方案

WBOY
WBOYOriginal
2016-06-13 11:45:08897browse

php只请求网页文件的大小,不返回网页内容,
实际情况是这样的,,我一次性要分析上万个网站的导出链接,所以要下载源代码,

而实际上有些网站的源代码非常长,会妨碍我程序执行的效率,所以我想在不返回网页内容的前提下获取网页文件的大小,之后才判断是否执行分析

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn