会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Hello World
博客园
首页
新随笔
联系
订阅
管理
2015年3月31日
(转)php发送get、post请求的几种方法
摘要: 方法1: 用file_get_contents 以get方式获取内容1 方法2: 用fopen打开url, 以get方式获取内容 1 方法3:用file_get_contents函数,以post方式获取url 1 'bar'); 3 //生成url-encode后的请求字符串,将数组转换为字符串 ...
阅读全文
posted @ 2015-03-31 17:00 Jerory
阅读(389)
评论(0)
推荐(0)
编辑
公告