I have a web service that i am using to submit a text message to be sent as a bulk sms. I have been given a url that i should submit the text message to for sending.
I have the numbers in a csv file that i am reading in this way
$row = 1;
if (($handle = fopen("27k.csv", "r")) !== FALSE) {
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) {
$num = count($data);
$row++;
for ($c=0; $c < $num; $c++) {
echo $data[$c] . '<br/>';
}
}
fclose($handle);
}
The messages are being submitted one by one to web service and sending 30,000 records is taking hours.
Is there a programming construct in any language that i can use to be able to make 30,000 concurrent requests to the web service instead of sending one text at a time?.