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 166 | Next

Nirav Mehta

"Mobile Web Development"

The following code shows this file. We keep the subject, from, and
MMS URL short, so that it can easily go in the WAP Push SMS. Unlike SMS,
there is no specific limit on MMS message size though.
$sms = new SMSGateway();
$mms_url = "http://potr.mehtanirav.com/mms/offer.mms";
$result = $sms->SendMMS("username", "password", "3015229",
"919322504767", "919322504767", "25% discount,
Pizza making", "Luigi - POTR", $mms_url);
if ($result)
{
echo "MMS Notification sent!";
}
else
{
echo "Could not send the notification.";
}
?>
4. We add "mms" to our $validActions array in index.php, and can now
access the page. It should connect to Clickatell and send out the notification.
5. On the mobile, you will receive a notification asking to download/open
the MMS message. Open the MMS message, and you can view our special
offer with all its special effects!
How is an MMS Message Sent?
So how did you get the MMS Message? There are multiple stages in an MMS
delivery. The following figure shows the overall transactions going on between the
MMS originator (on left) and the MMS receiver (on the right).
Chapter 7
[ 133 ]
Let's review what's happening:
1.


Pages:
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6