Home > Backend Development > PHP Tutorial > curl保存cookies的有关问题

curl保存cookies的有关问题

WBOY
Release: 2016-06-13 11:23:33
Original
1011 people have browsed it

curl保存cookies的问题
有的网站会用不同的域名设置COOKIE,这样好像CURL就会漏掉一些COOKIE。例如CURL访问网站www.xxx.com首页时,它会立即设置一个属于xxx.com的COOKIE,在首页填写用户名确定后转到www.xxx.com/next.php,这时会设置一个属于www.xxx.com的COOKIE。请问这两个COOKIE要怎么成功获取呢?

Curl Cookie 域名
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