Why is it that when I grab a cookie and store it to a file, every line is FALSE/FALSE? I've tried various different ways and still end up with the same thing. What am I missing? And for a clarification, you load one url, it sets a cookie and bounces to another url where that cookie is then read. But I can't even get the cookie to set properly. Here's my code:
$cookie_file_path = 'cookie.txt';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url3);
curl_setopt($ch, CURLOPT_HEADER ,1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER ,1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
$content = curl_exec($ch);
curl_close( $ch );
echo $content;
EDIT: So my question is for this post - by receiving FALSE /FALSE - does that mean the cookie isn't set properly?