摘要: Validating URLs'; set_time_limit(0); foreach ($urls as $url){ list($code ,$class) = check_url($url); echo "$url($code)\n"; ... 阅读全文
posted @ 2014-06-02 12:13 ShowJoy 阅读(314) 评论(0) 推荐(0)
摘要: parse_url()函数是将输入的URL结构分解成几个部分来将其转变为一个关联数组组成URL的几个基本部分为:scheme(协议名),host(主机名),port(端口号),path(文件路径),query(查询参数),user(用户名),pass(密码)如:http://www.example.... 阅读全文
posted @ 2014-06-02 10:03 ShowJoy 阅读(654) 评论(0) 推荐(0)