![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
buluzhai
这个作者很懒,什么都没留下…
展开
-
使用php模拟http请求
[code="php"]// Returns array with headers in $response[0] and body in $response[1] function http_post($request, $host, $path, $port = 80, $ip=null) { $http_request = "POST $path HTTP/1.0\r\n";...原创 2011-09-29 14:47:29 · 139 阅读 · 0 评论 -
PHP API封装的一个实例,来自EtherPad
[code="php"]原创 2011-10-08 10:26:16 · 236 阅读 · 0 评论