How to send bulk sms using php and http api
Sending bulk sms using our robust http api is very easy. Simply copy and paste the code sample below and replace the placeholders with yours <?php $email = urlencode(‘your-login-email’); $password = urlencode(‘your-password’); $type = ‘0 or 1’; $dlr = ‘0 or 1’; $destination = urlencode(‘gsm-1,gsm-2,gsm-3,…’); $sender = urlencode(‘sender’); $message = urlencode(‘message’); $url = ‘http://smsgator.com/bulksms?email=’.$email.’&password=’.$password.’&type=’.$type.’&dlr=’.$dlr.’&destination=’.$destination.’&sender=’.$sender.’&message=’.$message; $response = file_get_contents($url); echo $response; ?> …
Read article →