note 10904 modified in function.curl-setopt by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 17:39:21 +0000 |
| Subject: | note 10904 modified in function.curl-setopt by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155010@lists.php.net to get a copy of this message | ||
Just because the docs are rather sparse on this, to set multiple values in a cookie, you separate
them with a semicolon, as usual. An example, yo set j to j and k to k:
<?php curl_setopt($ch,CURLOPT_COOKIE,"j=j;k=k"); ?>
-- Alex
--was--
Just because the docs are rather sparse on this, to set multiple values in a cookie, you separate
them with a semicolon, as usual. An example, yo set j to j and k to k:
curl_setopt($ch,CURLOPT_COOKIE,"j=j;k=k");
-- Alex
http://php.net/manual/en/function.curl-setopt.php