'; # API key provided in your dial2verify account $SendSMSTo=''; # 10 digit Indian Mobile Number/s ( separated by comma ) $SendSMSFrom=''; # 6 character ALPHABATES only $Msg=""; ### DO NOT Change anything below this line $agent= 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)'; $url = "http://api.dial2verify.com/SMS/SEND/$YourAPIKey/$SendSMSFrom/$SendSMSTo"; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_POST,true); curl_setopt($ch,CURLOPT_POSTFIELDS,"Msg=$Msg"); curl_setopt($ch, CURLOPT_USERAGENT, $agent); echo curl_exec($ch); curl_close($ch); ?>