note 96905 deleted from function.curl-setopt by danbrown
| From: | danbrown@php.net | Date: | Sun, 09 Jan 2011 16:46:54 +0000 |
| Subject: | note 96905 deleted from function.curl-setopt by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-175563@lists.php.net to get a copy of this message | ||
Note Submitter: anderseta at gmail dot com
----
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)