使用file_get_contents提交http post
使用file_get_contents提交http post时需开启了allow_url_fopen。
1.先看一下目标网页(假设是http://localhost/response.php)
response.php
<?php
echo "";
print_r($_POST);
print_r($_COOKIE);
?>
本文讲述的只是http post请求的
转载
2012-12-05 14:16:01 ·
375 阅读 ·
1 评论