MySQL_Narb Posted December 28, 2012 Share Posted December 28, 2012 (edited) Just wanted to post two quick questions about the usage of cURL. If I set CURLOPT_PROXY, do I have to re-declare it after every execution of the cURL handle/session (I'm assuming since it's a >session<, I don't - but I'd like to just make this clearer for myself)? Also, if you're using cURL to login to another website, does it store the cookies from that login during the entire session? Thanks. Edited December 28, 2012 by MySQL_Narb Quote Link to comment https://forums.phpfreaks.com/topic/272438-curl/ Share on other sites More sharing options...
kicken Posted December 28, 2012 Share Posted December 28, 2012 Also, if you're using cURL to login to another website, does it store the cookies from that login during the entire session? By default no, but you can configure it to. See the CURLOPT_COOKIEFILE and CURLOPT_COOKIEJAR options for details. Quote Link to comment https://forums.phpfreaks.com/topic/272438-curl/#findComment-1401712 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.