curl-library
Curl Question.
From: Surya Kiran Gullapalli <suryakiran.gullapalli_at_gmail.com>
Date: Fri, 3 Aug 2007 09:24:16 +0530
Date: Fri, 3 Aug 2007 09:24:16 +0530
Hello,
I wanted to transfer some files via http. I post some information to a
web page and retrieve the web page. I'm giving a small example for
simplicity.
Web page
http://www.foo.com/some_form
Post:
field=value
I'm doing some thing equivalent to
curl "http://www.foo.com/some_form" -d"field=value"
using curl library.
Now my web page remains constant, but the value changes. So if I've to
get info regarding 10 different values, I loop over 10 times. Is there
any way I can avoid this loop?
I'm reading about curl_multi... Is this the answer?
Please help
Thanks,
Surya
Received on 2007-08-03