note 96905 added to function.curl-setopt
| From: | anderseta at gmail dot com | Date: | Mon, 22 Mar 2010 12:49:52 +0000 |
| Subject: | note 96905 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167290@lists.php.net to get a copy of this message | ||
I would like to correct my last post, the right "if" syntax is like this:
<?php
if(curl_getinfo($curl_resource, CURLINFO_SIZE_DOWNLOAD) <= 2000)
?>
* Use CURLINFO_SIZE_DOWNLOAD.
* Sometimes the first read is bigger than 1440. (but not bigger than 2000)
----
Server IP: 69.147.83.197
Probable Submitter: 189.11.104.92
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/96905
Del: integrated -- https://master.php.net/note/delete/96905/integrated
Del: useless -- https://master.php.net/note/delete/96905/useless
Del: bad code -- https://master.php.net/note/delete/96905/bad+code
Del: spam -- https://master.php.net/note/delete/96905/spam
Del: non-english -- https://master.php.net/note/delete/96905/non-english
Del: in docs -- https://master.php.net/note/delete/96905/in+docs
Del: other reasons-- https://master.php.net/note/delete/96905
Reject -- https://master.php.net/note/reject/96905
Search -- https://master.php.net/manage/user-notes.php