note 83722 deleted from function.curl-setopt by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 17:22:04 +0000 |
| Subject: | note 83722 deleted from function.curl-setopt by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154971@lists.php.net to get a copy of this message | ||
Note Submitter: chaim1567 at googlemail dot com
----
Be careful setting options while reusing a curl handle. I do not believe curl_exec resets the
previous options e.g. the referrer and headers you set two requests ago may remain for the latest
request.
I have not fully tested this and am interested in your results.