Closed Sarfroz closed 4 years ago
@Sarfroz How did you get it to work?
look at the rights of the folder and don't forget to put the full path of the file location
look at the rights of the folder and don't forget to put the full path of the file location
Huh, that was fast! Thanks.
The cookie is saved correct in the cookie file
curl_setopt($ch, CURLOPT_COOKIEJAR, dirname(__FILE__) . '/cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, dirname(__FILE__) . '/cookie.txt');
But in the second request
CURLOPT_COOKIEFILE, dirname(__FILE__) . '/cookie.txt',
It isn't working. The login page appears. It's not correct?
I don't know at all the CURLOPT_COOKIEJAR it is to keep the CURLOPT_COOKIEFILE up to date it is to make the cookie
i tried to pass custom cookies using
but it keeps loading. I just want to know that if I have a logged cookie of a website how can i pass it along with Cloudflare cookies.