socket,curl,file_get_content三种HTTP模拟表单提交的方式
了解HTTP协议,模拟表单提交
一、file_get_content模拟表单填单提交
<?php
$postData = array(
'title' => '我是file_get_contents 构造器',
'content' => "我是file_get_contents构造的数据内容",
'publish' => "发布"
原创
2017-04-28 15:20:59 ·
1414 阅读 ·
0 评论