cURL simultaneous downloads

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
an_dlei
Forum Newbie
Posts: 1
Joined: Mon Sep 26, 2005 7:36 am

cURL simultaneous downloads

Post by an_dlei »

hi, here's the problem:
i want to do multiple curl post's simultaneously. all curl objects have the same url, but different post params. here's how i do it know. i have main.php which exec()'s curl.php with the right params. in curl.php i open a connection, i set the parameters, and i execute the query. BUT only the last executed curl.php gives me the right result (it posts correctly), the previous executed ones fill up the html forms but they don't submit the data.
does anyone have an idea how i could run multiple curl's simultaneously, or an fix to my problem ?
thank you
Post Reply