php中用curl获取验证码时同时获取cookies乱码

WBOY
Release: 2016-06-02 11:32:01
Original
1009 people have browsed it

phpcurl乱码

我用curl获取验证码时同时想获取cookies信息但是乱码。

curl获取时头信息时“Content-Type: text/html;”这个导致了乱码。

请问怎么解决,让验证码显示同时也能输出cookies?

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