| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-and-php mailing list Archives
Re: Simultaneous curl posts on the same URL [without curl_multi]
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 27 Sep 2005 19:53:27 +0200 (CEST)
On Tue, 27 Sep 2005, Baragan Andrei wrote:
> The problem is that i want to run multiple curls at once, on the same URL
> I have a main script in which i exec() a script curl.php with the right
So how do you execute both of them at once?
> The problem is that only the last executed script gives me the right results
Uh? curl cannot actually "fill in forms", it gets or sends data. So in what
> I think that curl reuses connections, and maybe that is the problem.
No, it is not the problem. curl only reuses the same connection if the same
> I even tried variable variables like $$ but nothing.
What does that mean? (I am a PHP rookie.)
> $$ch = curl_init();
Since you only do one request and then kill the handle, these two options make
The rest looked good to me.
> What setopt should i use so that curl would not reuse the connection
None, as there is no connection that it can re-use when used like this.
> or just how do i get the right results every time ?
I don't know, but you seem to be chasing for your bug in the wrong part of
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2005-09-27 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info