Upload a pic to our site via mms

Upload a pic to our site via mms SearchSearch
Author Message
Ryan A
Unregistered guest
Posted on Wednesday, April 13, 2005 - 12:43 am:   

Hi,
We have a website where users can write their CVs and upload a picture which goes on their CV.
Usually they upload via HTML FILE boxes, which is a problem as some of them have their pics on their mobiles and not on their computers, and most of them dont know or dont own a bluetooth dongle or any other way of transfering the files.

Is there any way that we can use nowsms so that the user sends in a SMS message and a tag like this <username> and you tranfer the message to a php script on our site in a HTTP POST ?

Thanks,
Ryan A
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4354
Registered: 10-2002
Posted on Friday, April 22, 2005 - 08:36 pm:   

Ryan,

Technically possible, but a fair amount of work.

Probably the easiest way to do it would be to hook up a GSM/GPRS modem to a PC. Keep in mind that this needs to be a dedicated GSM/GPRS modem device, phones with built-in modem capabilities generally do not forward received MMS messages over the modem interface. Dedicated GSM/GPRS modem devices are devices like the Siemens MC35 Terminal, Wavecom/Multitech modems, or PC card modems like the Sierra Wireless Aircard.

Then configure NowSMS to receive the MMS messages to a directory, as the file/directory based interface is the easiest to work with.

(Other interfaces are described here: http://www.nowsms.com/documentation/ProductDocumentation/2_way_mms_support.htm)

There is an example of what the file/directory interface looks like midway in the following thread:

http://support.nowsms.com/discus/messages/485/2135.html

The challenge is that an MMS message can technically have multiple text parts (i.e., multiple pages), so the message text goes into a separate text file. That makes it a little harder to parse out a username tag, but not that much more difficult.

-bn