SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 132 | Next

Nirav Mehta

"Mobile Web Development"

..'
if ($ordObj->UpdateStatus('P'))
{
$updated++;
}
}
echo "

$updated orders updated.

";
}
Sending Text Messages
[ 102 ]
5. When processed, the page will update the selected orders, and show any new
orders. Luigi can keep refreshing the page and dispatching the orders.
If there are no orders to process, the page will show "No pending orders".
Now that we have order status updates taken care of, let's get to the core of the
Luigi's requirement??”sending order dispatch notification to customers via SMS.
Sending SMS Notifications
There are two approaches to sending SMS from a server. You can either connect a
phone/modem to the server and set up your own system or use a third party SMS
gateway service.
We will look at sending messages from your own server later in the chapter. For
now, we will focus on SMS gateways. SMS gateways provide an API or web service
that you can call to send messages.
Getting Started with a Gateway
We will use Clickatell (www.clickatell.com) as our SMS gateway service provider.
Clickatell can send messages to almost all mobile networks in the world at competitive
rates. It also offers a variety of methods to use its API.


Pages:
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
druga wojna światowa Free English grammar and study guid hotel jelenia góra Russian bride counter strike 1.6