Re: [PHP] multi thread work?

2010-08-04 Thread Daniel Brown
On Wed, Aug 4, 2010 at 13:21, Tontonq Tontonq wrote: > Hi > how to make a script multi task  based like this [snip=code] > > lets say this takes 1000 seconds and it doesnt focus to another curl process > before it finish the previous one > > is it possible to let the script focus another curl proc

Re: [PHP] multi thread work?

2010-08-04 Thread Rasmus Lerdorf
On 8/4/10 10:27 AM, Alex Major wrote: >> -Original Message- >> From: Tontonq Tontonq [mailto:root...@gmail.com] >> Sent: 04 August 2010 18:21 >> To: PHP General Mailing List >> Subject: [PHP] multi thread work? >> >> Hi >> how to make a scri

RE: [PHP] multi thread work?

2010-08-04 Thread Alex Major
> -Original Message- > From: Tontonq Tontonq [mailto:root...@gmail.com] > Sent: 04 August 2010 18:21 > To: PHP General Mailing List > Subject: [PHP] multi thread work? > > Hi > how to make a script multi task based like this > > > > for($i=1;$i<

[PHP] multi thread work?

2010-08-04 Thread Tontonq Tontonq
Hi how to make a script multi task based like this http://www.facebook.com/ajax/reqs.php?__a=1' ); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_USERAGENT, "Opera/9.80 (Windows NT 5.1; U; tr) Presto/2.6.22 Version/10.50"); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt(