01-05-2013, 09:54 AM
$api_user = "wifianten";
$api_password = "****";
$api_id = "SISBILTEK";
$body = rawurlencode($body);
$ch = curl_init();
// mobildev
// curl_setopt($ch, CURLOPT_URL, "http://gateway.mobilus.net/gateway.asp?username=$api_user&company=$api_id&password=$api_password&action=0&Numbers=$mobile&Message=$body");
//kaynaksms
curl_setopt($ch, CURLOPT_URL, "http://api.netgsm.com.tr/bulkhttppost.asp?usercode=$api_user&password=$api_password&gsmno=$mobile&message=$body&msgheader=$api_id&startdate=300120121721&stopdate=300120202321");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec($ch);
curl_close($ch);
or
http://www.bulksms.com/int/docs/eapi/
$api_password = "****";
$api_id = "SISBILTEK";
$body = rawurlencode($body);
$ch = curl_init();
// mobildev
// curl_setopt($ch, CURLOPT_URL, "http://gateway.mobilus.net/gateway.asp?username=$api_user&company=$api_id&password=$api_password&action=0&Numbers=$mobile&Message=$body");
//kaynaksms
curl_setopt($ch, CURLOPT_URL, "http://api.netgsm.com.tr/bulkhttppost.asp?usercode=$api_user&password=$api_password&gsmno=$mobile&message=$body&msgheader=$api_id&startdate=300120121721&stopdate=300120202321");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec($ch);
curl_close($ch);
or
http://www.bulksms.com/int/docs/eapi/
<t></t>