Re: PHP curl function simulated crawler (operation cookie)
curl cookie how to use? Novice is very headache, curl is too much, of which cookie part of the 4.
, of course, the handbook knows that the cookie of curl is 3, but well, there is not a header parameter, which contains the cookie.
http://7game.net.cn/ (http://7game.net.cn/) collection based on the curl library.
curl is very useful. The most important thing is to be familiar with the use of curl_setopt.
curl_setopt ($ch, CURLOPT_COOKIE, $cookie);
here cookie value is used; separate, not used.