1

I'm trying to display all the cookie values of any REMOTE URL just like - http://www.cookie-checker.com/

Here what i'm thinking -

     $req = new HTTP_Request($url);
$req->setMethod(HTTP_REQUEST_METHOD_GET);
$req->sendRequest();
$cookies = $req->getResponseCookies();
print_r($cookies);
Chetan Soni
  • 784
  • 1
  • 6
  • 11
  • 2
    Possible duplicate of [how to get the cookies from a php curl into a variable](https://stackoverflow.com/questions/895786/how-to-get-the-cookies-from-a-php-curl-into-a-variable) – S. Dev May 28 '18 at 11:28
  • that is exactly you do, read documentation https://pear.php.net/manual/en/package.http.http-request.cookie.php – mayank May 28 '18 at 11:29

0 Answers0