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

Login script (probably a simple error)
dbConfig.php
Code: <?
// Replace the variable values below
// with your specific dat

foreach loop, assistance request
I would like some guidance on the usage of foreach as I try to parse through a large database and wh

php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming dat

If a record matches an existing record do nothing
So I don't know if I should put this here or in mysql, but what my script is for is for people to ad

Warning: mysql_num_rows() expects parameter 1
When i add quote at the end of this link
example:http://localhost/articlemania/category.php?cid=3

http to https
Hi,

Is there any specific method/condition to move an http:// page to https:// ?

echo $rows help
Hi all,

Hopefully something simple that I don't know!

I have this:

Code: [Selec

Page Reload
I am having issues getting a page to reload after I submit data to a database. This form should inp

Form always sends to error page...
Hello,
Any help will be greatly appreciated. I am having trouble getting multiple fields to be re

Problem with PHP/mySQL login code
Hello,

There is an error in my login script and I can't figure out what it is...
I believe

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