1800 87 7061 (Malaysia Toll Free) +603 2780 3880 (KL)
How to Create Task Scheduler With PHP CodeBulk SMS Malaysia API is a great choice when integrating message delivery function to your website or application. iSMS Malaysia API is flexible, simple to use and easy to understand for developers to work on connecting with iSMS Gateway. This Bulk SMS Scheduler API will help you to set the SMS schedule without logging into iSMS admin console. To understand more about our iSMS API Key features, please visit our Developer API page. All available features and configurations will be displayed at the iSMS Developer API page. Integrate our SMS API into your PHP application and enjoy our SMS services. Please click below to find out about other task scheduler samples. 1. Firstly, register a username and password from iSMS Register Page. Bulk SMS Scheduler API only requires a few information from you such as username, password and your mobile number. It is free. You may click HERE to learn how to reload your iSMS account. For Task Scheduler, go to (main navigation menu) SMS > Task Scheduler You will find that the Task Scheduler is empty as you have not created any task scheduler. ![]() 2. Create PHP file Create a PHP file with the file name below. You may use any file name. It is advisable to create a without any empty spacing in the name. ![]() 3. Bulk SMS API Scheduler PHP Coding Add in the PHP code into the PHP file as below: <?php $username = "isms"; $password = "isms123"; $dstno = 6016xxxxxxx; $msg = "text message over here"; $det = "TEST"; $tr = "weekly"; $type = 1; $senderid = "isms"; $date = "2013-06-16"; $hour = 12; $min = 45; $week = 1; $month = 1; $day = 1; $sendlink = "http://www.isms.com.my/isms_scheduler.php?un=".urlencode($username)."&pwd=".urlencode($password)."&dstno=".$dstno."&msg=".urlencode($msg)."&det=". $handle = fopen($sendlink, "r"); if ($handle) { while (($buffer = fgets($handle, 4096)) !== false) { echo "This is your task scheduler ID :" .$buffer; } if (!feof($handle)) { echo "Error: unexpected fgets() fail\n"; } fclose($handle); } ?> After running the PHP file, a HTTP request will be initated and the browser address bar will displayed the address as below:
https://www.isms.com.my/isms_scheduler.php?un=isms&pwd=isms&dstno=601xxxxxx&msg=hello&det=TEST&tr=onetime&type=1&sendid=isms&date=2013-06-14&hour=08&min=15&week=1&month=1&day=1
An ID will be attached to every task scheduler you create. If you need to do update or delete task scheduler using our Bulk SMS Malaysia API, you can use the ID in your application to do so in future. ![]() 4. It works! The task scheduler is created. ![]() Contact UsPlease contact us HERE, if you have any enquiries or looking for any consultation. Email: sales@mobiweb.com.my Note to registered users: Please include your Username in the email. Phone Numbers:
Fax:
|