Home > Backend Development > PHP Tutorial > 问个curl参数的有关问题

问个curl参数的有关问题

WBOY
Release: 2016-06-13 12:47:07
Original
795 people have browsed it

问个curl参数的问题
几年前做过java模拟淘宝登陆,最近准备用php试试。发现curl里有个参数CURLOPT_POSTFIELDS,curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields); 这个后面的$post_fields到底从哪获取,网上找了一大堆没人说,不过都是一大串链接字符串或者是个数组,现在问个问题:这些参数从哪获取,如何才能完全正确的获取到(感觉字段很多,不知道哪些有用哪些没用)?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template