Account Login

Lost password?

MMS to HTTP

Send multimedia content from your phone to your web application

Multimedia content includes one or more of audio recordings, camera images, video recordings, text and more.

You will need a number to send your MMS messages to. Account holders can use our shared MMS number for free. If you require dedicated MMS numbers, we can provide them

If you use the shared MMS number, you will need to register a keyword so that we can tell which messages are yours.

How to register and configure a single keyword

Log in to your account at aql.com
From the menus select TextBack, then MSISDN, then Manage keywords



Click on 'add'



Complete the keyword registration form :

Keyword Any combination of letters and numbers not already registered
Action on reception of message Choose HTTP Post
HTTP Posting URL Enter the URL that that you want to receive MMS messages to

Receiving MMS to HTTP

Your application will receive an HTTP post request composed of HTTP post variables and files

There will be three HTTP post variables :

variable name content
source This variable will always contain 'MMStoHTTP'
message This variable will contain the part of the message following the keyword
originator The sender's mobile number in international format

The multimedia files will be accessible as HTTP post files

Example implementation

Download this example php script

This php script is an example of a basic HTTP post request handler that adds captioned images and links through which 3gp video can be downloaded to a webpage.

It is not secure and should not be used on a live server

The example php script would enable you to view MMS content sent to the shared MMS number with keyword YOURKEYWORD at http://yourserver.com/mms

It is assumed in this example that http://yourserver.com is stored on your server at /var/www

To install, configure and use the example script

  1. 1 Configure your keyword to HTTP post the MMS content to http://yourserver.com/mms-to-http-script.php
  2. 2 Change the value of $strLocation at the start of the example script to 'mms/'
  3. 3 Upload this script to /var/www/mms-to-http-script.php
  4. 4 Upload an empty file to /var/www/mms/index.html
  5. 5 Check that your script and directory permissions are appropriately configured
  6. 6 Send an MMS with the text yourkeyword aql mms to http test to the shared MMS number 07537 416868