Closed Thread Icon

Topic awaiting preservation: CURL request/response to sequential websites Pages that link to <a href="https://ozoneasylum.com/backlink?for=31112" title="Pages that link to Topic awaiting preservation: CURL request/response to sequential websites" rel="nofollow" >Topic awaiting preservation: CURL request/response to sequential websites\

 
Author Thread
Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 07-09-2009 22:29

Hi all,

I searched the forum for this and didn't find any answers so I'm gonna throw it out there to see if I can get some help.

1. I need to use PHP/CURL to POST data to a website and wait up to 90 secs for it to respond.
2. Then I need to read the response and if it denotes a 'fail response' I need to post the data to the next website.
3. Repeat and rinse...LOL

I need to know how to get CURL to wait the 90 secs for the response.

Thanks in advance

Boudga

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 07-10-2009 11:28

my google foo says you need to set CURLOPT_TIMEOUT_MS, but what curl are we talking about actually? command line client? php interface? C?

« BackwardsOnwards »

Show Forum Drop Down Menu