2010-12-22 5 views

답변

1

다음은 컬 및 쿠키와 관련하여 유용한 옵션 중 일부입니다.

curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt'); //use this cookie file 
curl_setopt($ch, CURLOPT_COOKIEJAR, '/tmp/cookie.jar'); //if you close the session the cookies will be saved here 
curl_setopt($ch, CURLOPT_COOKIE,"cookie_test=yes; domain=.google.com; path=/"); //set the cookie for the current session 
관련 문제