Page 1 of 1

Curl timeout breaks script

Posted: Thu Nov 05, 2009 10:02 am
by kristallaju
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

Code: Select all

 
// Start calling functions
 
   function1();
   function2();
   function3();
   function4();
   function5();