note 104387 deleted from function.curl-setopt by cmb
| From: | cmb@php.net | Date: | Sun, 17 Nov 2019 08:55:08 +0000 |
| Subject: | note 104387 deleted from function.curl-setopt by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213094@lists.php.net to get a copy of this message | ||
Note Submitter: m dot ghadam at gmail dot com
----
When you set ($ch, curlopt_post, 1) , after you have posted your data with curl_exec , you need to
set ($ch, curlopt_post, 0), Otherwise all your subsequent requests seems as a post with no postdata
and some reverse proxy servers send 500 or 403 error for these case ( access denied or forbidden )!