Text us or call us on : 011 33 20 30 40

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 :

KeywordAny combination of letters and numbers not already registered
Action on reception of messageChoose HTTP Post
HTTP Posting URLEnter 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 namecontent
sourceThis variable will always contain 'MMStoHTTP'
messageThis variable will contain the part of the message following the keyword
originatorThe 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 07740 404142

Quick Links

Latest News


aql gain ISO 27001 Accreditation

aql Operations Director,...

Read More

aql's historic head office - the Salem Chapel

(Right to...

Read More

aql join Datacentre Alliance

...

Read More

IXLeeds to put Leeds on the 'Internet Map'

...

Read More

JANET 3G - First feedback by St Andrews University

It's always fantastic to receive customer feedback (whether good or bad). The team at aql were...

Read More