curl php show error 1

curl php show error

if(curl_exec($ch) === false)
    echo 'Curl error: ' . curl_error($ch);
    echo 'Operation completed without any errors';

Here is what the above code is Doing:
1. Create a new cURL resource
2. Set URL and other appropriate options
3. Grab URL and pass it to the browser
4. Close cURL resource, and free up system resources

Similar Posts