PHP script hangs due to curl

This script causes the php file to hang:

$handle   = curl_init($pictureimg); 
    $connectable = curl_exec($handle);
    curl_close($handle); 

      

Any idea why? It worked a few days ago. Then I think that I accidentally changed the settings somewhere and all my curls stopped working.

+1


a source to share


1 answer


Does php expect CURL when making a request? Perhaps there are fewer resources on the other server.



0


a source







All Articles