摘要: 方法一(需要开启allow_url_fopen):1<?php2$url = "http://http://github.codeigniter.org.cn/download/CodeIgniter_2.1.2.zip";3$fileExists = @file_get_contents($url, null, null, -1, 1) ? true : false;4echo $fileExists; //返回1,就说明文件存在。5?><b> </b>方法二(需要服务器支持Curl组件):01<?php02function ch 阅读全文
posted @ 2013-06-04 19:30 江哥哥 阅读(458) 评论(0) 推荐(0) 编辑