note 98995 added to curl.examples
| From: | pradeepkumarprajapati at yahoo dot co dot in | Date: | Wed, 21 Jul 2010 09:38:35 +0000 |
| Subject: | note 98995 added to curl.examples | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171006@lists.php.net to get a copy of this message | ||
For jlee8df at gmail dot com
30-May-2008 08:47
Basic cURL file or page download with basic error trapping.
I think instead of && there should be || in the function cURLcheckBasicFunctions()
If even a single cURL function isn't defined, it would return false through function_exists().
An ! (exclamation) makes toggles it to true and hence no need to extend further, immediately return
false from cURLcheckBasicFunctions().
This is done when || is there and not &&
----
Server IP: 69.147.83.197
Probable Submitter: 196.15.16.20
----
Manual Page -- http://www.php.net/manual/en/curl.examples.php
Edit -- https://master.php.net/note/edit/98995
Del: integrated -- https://master.php.net/note/delete/98995/integrated
Del: useless -- https://master.php.net/note/delete/98995/useless
Del: bad code -- https://master.php.net/note/delete/98995/bad+code
Del: spam -- https://master.php.net/note/delete/98995/spam
Del: non-english -- https://master.php.net/note/delete/98995/non-english
Del: in docs -- https://master.php.net/note/delete/98995/in+docs
Del: other reasons-- https://master.php.net/note/delete/98995
Reject -- https://master.php.net/note/reject/98995
Search -- https://master.php.net/manage/user-notes.php