专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅
  有些主机服务商把phpallow_url_fopen选项是关闭了就是没法直接使用file_get_contents来获取远程web页面内容那就是可以使用另外个curl  下面是file_get_contents和curl两个同样功能区别写法  file_get_contents使用举例: < ?php$file_contents = file_get_contents('http://www.ccvita.com/');echo $file_contents;?>  换成curl使用举例: < ?php$ch = cur [阅读全文] [PDF]
1 共1条 分1页