note 120793 added to function.curl-setopt
| From: | nabikaz at gmail dot com | Date: | Sun, 12 Mar 2017 19:28:33 +0000 |
| Subject: | note 120793 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-208893@lists.php.net to get a copy of this message | ||
About this post in here:
http://php.net/manual/en/function.curl-setopt.php#102121
>Handling redirections with curl if safe_mode or open_basedir is enabled.
>...
>function curl_exec_follow(/*resource*/ $ch, /*int*/ &$maxredirect = null) {
>...
~~~~~~~~~~~~~
IMPORTANT:
This is not work if set "CURLOPT_FILE".
For resolve this issue, can return $ch instead of curl_exec($ch), and after then set CURLOPT_FILE
and use curl_exec($ch).
----
Server IP: 72.52.91.14
Probable Submitter: 46.62.223.23
----
Manual Page -- http://php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/120793
Del: integrated -- https://master.php.net/note/delete/120793/integrated
Del: useless -- https://master.php.net/note/delete/120793/useless
Del: bad code -- https://master.php.net/note/delete/120793/bad+code
Del: spam -- https://master.php.net/note/delete/120793/spam
Del: non-english -- https://master.php.net/note/delete/120793/non-english
Del: in docs -- https://master.php.net/note/delete/120793/in+docs
Del: other reasons-- https://master.php.net/note/delete/120793
Reject -- https://master.php.net/note/reject/120793
Search -- https://master.php.net/manage/user-notes.php