Curl timeout breaks script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kristallaju
Forum Newbie
Posts: 5
Joined: Wed Sep 30, 2009 10:22 am

Curl timeout breaks script

Post 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();
 
 
Post Reply