note 77546 added to function.curl-copy-handle
| From: | nicolac76 at yahoo dot fr | Date: | Mon, 03 Sep 2007 10:14:14 +0000 |
| Subject: | note 77546 added to function.curl-copy-handle | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130119@lists.php.net to get a copy of this message | ||
Something work wrong if you use the var $i for a for...
$i cannot go over 127 (0111 1111b), more over you must say that the var is an int...
<?
$j=(int)0;
$curl = curl_init("http://www.example.com");
for($j=1;$j<=128;$j++) {
$ch = curl_copy_handle($curl);
curl_close($ch);
}
curl_close($curl);
?>
----
Server IP: 217.174.196.197
Probable Submitter: 82.235.196.248
----
Manual Page -- http://www.php.net/manual/en/function.curl-copy-handle.php
Edit -- https://master.php.net/note/edit/77546
Del: integrated -- https://master.php.net/note/delete/77546/integrated
Del: useless -- https://master.php.net/note/delete/77546/useless
Del: bad code -- https://master.php.net/note/delete/77546/bad+code
Del: spam -- https://master.php.net/note/delete/77546/spam
Del: non-english -- https://master.php.net/note/delete/77546/non-english
Del: in docs -- https://master.php.net/note/delete/77546/in+docs
Del: other reasons-- https://master.php.net/note/delete/77546
Reject -- https://master.php.net/note/reject/77546
Search -- https://master.php.net/manage/user-notes.php