SMS Price: ZW$ 1.40 ONLY!

Call Now: +263 8644 102348/9,
+263 773 098427, +263 773 577173

Working PHP sample

Main Code Page | PHP | Python | C# | Java
This is working sample of a PHP script that can be used to send SMS through the Bulk SMS API. It was tested and working perfectly. All you need to do is fill the missing information - $username, $token, $destinations. The mobile numbers in this sample are for Bulk SMS technical team and should be removed when implementing the Web Services in your applications. The Webservice username (get it from the User Configuration) is case sensitive

You can create your own Bulk SMS account. Sign Up here! Your Account will be created with FREE SMS credits for testing. Create your Sender ID before testing. After you login, go to Settings, then Manage Sender ID. You will not be able to send SMS without a Sender ID. First test your account from our system before using these Code examples!

    // suppress error message

    // BulkSMS Webservice username for sending SMS.
    //Get it from User Configuration. Its case sensitive.

    $username = '';

    // Webservices token for above Webservice username
    $token = '';

    // BulkSMS Webservices URL
    $bulksms_ws = '';

    // destination numbers, comma seperated or use #groupcode for sending to group
    // $destinations = '#devteam,263071077072,26370229338';
    // $destinations = '26300123123123,26300456456456';  for multiple recipients
    $destinations = '263772268353,263732268353,263773098427';

    // SMS Message to send
    $message = "Testing PHP Script to BulkSMS Webservice";

    // send via BulkSMS HTTP API

    $ws_str = $bulksms_ws . '&u=' . $username . '&h=' . $token . '&op=pv';
    $ws_str .= '&to=' . urlencode($destinations) . '&msg='.urlencode($message);
    $ws_response = @file_get_contents($ws_str);

    echo $ws_response;



Use of Smart Phones with Bulk SMS

Our Bulk SMS system is fully compatible with smart phones. It was designed to display efficiently on both desktop, tablets and smart phones. Its now possible to use your smart phone for anything that you want to do in the system. Allowing you to be productive even when you are out of the office or on the go. BUT, just DON'T use this system while you drive!

Why is SMS good for you?

  • The personal nature of mobile phones make SMS marketing a very powerful tool. Basic Phone image
  • Most people take their mobile phones everywhere - meaning they can be effective for time sensitive messages.
  • People tend to read virtually every text they get - unlike junk mail, spam or adverts which can be ignored.
  • It's a direct, immediate communication channel. SMS is one of the most immediate channels available; with a read rate of 97% within 15 minutes delivery, you can be reassured that your time critical messages will be read almost instantly.
..Learn More
Powered by iHubCloud
Physical Address: 102 Churchill Road, Gunhill, Harare
Telephone: +263 8644 102348/9, +263 773 098427, +263 773 577173

Login In   /  Sign Up
(compatible with smart phones)

Powered By

Our Social Media Presence