As for a long time i was using the web service as aswin anand guided in his blog
But now a days some problem occured.
As a php programmer i just edited his code and now its working.
to use it simpler i made the code into class and member functions.
you can download the edited code from here .
the only change this sesction
curl_setopt ($curl, CURLOPT_URL, "http://wwwd.way2sms.com/FirstServletsms?custid=");
curl_setopt ($curl, CURLOPT_REFERER, curl_getinfo($curl, CURLINFO_EFFECTIVE_URL));
curl_setopt ($curl, CURLOPT_POST, 1);
curl_setopt ($curl, CURLOPT_POSTFIELDS, "HiddenAction=instantsms&login=&pass=&custid=undefined&MobNo=" . $p . "&textArea=" . $msg);
$text = curl_exec($curl);
the new code is
curl_setopt ($curl, CURLOPT_URL, "http://www1.way2sms.com/FirstServletsms?custid=\"+custid+\"&sponserid=\"+sponserid+\"");
curl_setopt ($curl, CURLOPT_REFERER, curl_getinfo($curl, CURLINFO_EFFECTIVE_URL));
curl_setopt ($curl, CURLOPT_POST, 1);
curl_setopt ($curl, CURLOPT_POSTFIELDS, "MobNo=$p&textArea=$msg&HiddenAction=instantsms
&login=&pass=&Action=custfrom300000");
$text = curl_exec($curl);
Don't forget to comment on this changes.
Any problems please keep informing
recommended to download and use it