CURL - çerezleri nerede saklanır?

0 Cevap php

Ben bir siteye giriş istiyorum, bu yüzden bir sayfayı talep ilk kez, bu çerezleri ayarlaması başka bir sayfaya beni yönlendirir.

Onlar bunu yaparken, belirlediğiniz bir öğretici takip ediyorum

$cookie = '/tmp/cookies.txt';
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);

But when i check http live headers, the server passes cookie information to set my cookies. But i don't see it doing anything. When I examine the cookies, those values aren't there.

Yani $ cookie için başka bir yolunu belirtmek zorundayım?

0 Cevap