Topic: CURL request/response to sequential websites (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=31112" title="Pages that link to Topic: CURL request/response to sequential websites (Page 1 of 1)" rel="nofollow" >Topic: CURL request/response to sequential websites <span class="small">(Page 1 of 1)</span>\

 
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?



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu