Curl timeout breaks script


Posted on 16th Feb 2014 07:03 pm by admin

So im having difficulties with skipping timeout error in curl
my script calls different functions my problem is lets say if in function2 is curl timeout error it wont continue with function3 but kills entire script. Is there any way to skip function2 (if there is timeout error) and continue with function3


// Start calling functions

function1();
function2();
function3();
function4();
function5();

No comments posted yet

Your Answer:

Login to answer
341 Like 22 Dislike
Previous forums Next forums
Other forums

help with contest script
I would like to code a contest script to my site but i don't know how. Could someone just give me pu

help with this code please?
Hello,

I am trying to build a remote upload script for my image hosting site.

I am usi

how to insert value
I am having file bookissueadd.php..... in which i am having tag

<td height="21&q

Any help with my email script?
I have an email script, I have not tested it, although someone tested it for me and said it worked f

How to display objects in a row
I have 7 codes that i want to display in a row one next to another.
The first is {$ads->ad

extract data
Code: <div class="post hentry uncustomized-post-template">

Header is not working in IE
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :

There was a problem with the request. (Code: 0)
Any Idea what could cause this? I get it randomly at best. But with both IE and FF. It derives from

Cron Job and Output
I have php codes running under a cron job.
But everytime i output (echo) , it comes out as comple

Posting Serialized Data Not Working
I am trying to send an object from one PHP file to another using POST. I serialize the object and th

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash