print_r(get_meta_tags('http://www.muyangcheng.com')); print_r(get_headers('http://www.muyangcheng.com',1)); print_r(get_headers('http://www.muyangcheng.com'));
结果如下:
Array ( [generator] => phpwind 8.7 [description] => 牧羊城(www.muyangcheng.com),广州论坛是一个集广州消费经验、广州生活信息、广州超市商场打折优惠信息、广州人脉关系为一体的城市社区、生活门户、广州论坛,牧羊城(广州论坛)专注于广州城市百姓生活,无论你是老广,还是新广人,这是你我共同的网上生活家园! [keywords] => 牧羊城网站,广州新闻,广州城市,广州优惠,牧羊城,牧羊人,muyangcheng,广州超市商场打折优惠,广州消费,广州生活信息,广州生活社区,广州生活门户,广州论坛生活,广州论坛分类信息,广州团购,广州论坛优惠信息,广州论坛,羊城美食,广州网,广州BBS,广州论坛网 [msapplication-task] => name=我的设置; action-uri=profile.php; icon-uri=images/ico/edit.ico ) Array ( [0] => HTTP/1.1 200 OK [Server] => nginx/1.0.8 [Date] => Tue, 19 Jun 2012 03:11:25 GMT [Content-Type] => text/html [Connection] => close [Vary] => Accept-Encoding [X-Powered-By] => PHP/5.3.8 [Set-Cookie] => Array ( [0] => b9971_c_stamp=1340075484; expires=Wed, 19-Jun-2013 03:11:24 GMT; path=/ [1] => b9971_lastvisit=0%091340075484%09%2Findex.php; expires=Wed, 19-Jun-2013 03:11:24 GMT; path=/ [2] => b9971_lastpos=index; expires=Wed, 19-Jun-2013 03:11:24 GMT; path=/ [3] => b9971_lastvisit=0%091340075484%09%2Findex.php; expires=Wed, 19-Jun-2013 03:11:24 GMT; path=/ ) ) Array ( [0] => HTTP/1.1 200 OK [1] => Server: nginx/1.0.8 [2] => Date: Tue, 19 Jun 2012 03:11:26 GMT [3] => Content-Type: text/html [4] => Connection: close [5] => Vary: Accept-Encoding [6] => X-Powered-By: PHP/5.3.8 [7] => Set-Cookie: b9971_c_stamp=1340075486; expires=Wed, 19-Jun-2013 03:11:26 GMT; path=/ [8] => Set-Cookie: b9971_lastvisit=0%091340075486%09%2Findex.php; expires=Wed, 19-Jun-2013 03:11:26 GMT; path=/ [9] => Set-Cookie: b9971_lastpos=index; expires=Wed, 19-Jun-2013 03:11:26 GMT; path=/ [10] => Set-Cookie: b9971_lastvisit=0%091340075486%09%2Findex.php; expires=Wed, 19-Jun-2013 03:11:26 GMT; path=/ )
相关推荐
本文实例讲述了PHP使用get_headers函数判断远程文件是否存在的方法。分享给大家供大家参考。具体实现方法如下: 以前讲过程关于php判断远程文件是否存在的文章都是利用fopen,sockt,curl函数来实现检查远程文件是否...
关于php get_headers函数的作用及用法,可以参考本站文章: php中get_headers函数的作用及用法的详细介绍下面来具体说如何利用php get_headers却判断url的真实有效性。 通过该函数的介绍,我们可以知道对于这个函数...
PHP实现的带超时功能get_headers函数_.docx
ATL_Server_Source_and_Headers_9_0_70425_Alpha.zip
This file is for use in Non-BIOS applications. Linker command file to place the...For BIOS applications, please use the DSP280x_Headers_BIOS.cmd file which does not include the PieVectorTable structure.
ATL_Server_Source_and_Headers_9_0_70425_Alpha.zip
资源来自pypi官网。 资源全名:get_user_headers-0.1.2.tar.gz
ATL_Server_Source_and_Headers
firefox56版本使用插件,已经签名,可以正常使用 File modifyHeaders = new File(pluginPath); profile.addExtension(modifyHeaders); profile.setPreference("modifyheaders.headers.count", 1); profile....
关于urdfdom_headers 主页: : 软件包许可证:BSD-3-Clause 原料许可证: 摘要:URDF解析器的标头 开发: : 当前构建状态 特拉维斯 无人机 蔚蓝 变体 地位 linux_64 linux_aarch64 linux_ppc64le osx_...
主要介绍了PHP实现的带超时功能的get_headers函数,本文直接给出实现代码,需要的朋友可以参考下
DSP2833x_Headers_BIOS.cmd 28335 cmd
本篇文章介绍了,php模拟get_headers函数的代码示例。需要的朋友参考下
TMS320F28335 DSP2833x_Headers_nonBIOS.cmd
nginx扩展工具,nginx的headers_more模块用于 添加、修改或清除 请求/响应头,该模块不是nginx自带的,默认不包含该模块,需要另外安装。幸运的是openresty默认包含了该模块,可以直接使用。 该模块主要有4个指令...
array get_headers ( string $url [, int $format = 0 ] ) 参数 url 目标 URL format 如果将可选的 format 参数设为 1,则 get_headers() 会解析相应的信息并设定数组的键名。 示例 <?php$url=’...