Sendmms-php

Sendmms-php SearchSearch
Author Message
alias
Unregistered guest
Posted on Tuesday, July 27, 2004 - 12:49 pm:   

hello
I found here a php code to send mms. I want to use it. I hope that someone tell me that how to set it with nowsms and the server. I know that is easy but i know nothing about the php language.
thank
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3162
Registered: 10-2002
Posted on Wednesday, July 28, 2004 - 10:16 pm:   

I'd start by setting up NowSMS ... and verifying that you have a configuration that allows you to send SMS and MMS from the NowSMS web interface. (You will need a connection to an SMS service provider or a GSM/GPRS modem.)

That's a prerequisite for being able to get anywhere with the PHP script.

For the PHP script itself, you need to install PHP which you can get at www.php.net. (At this point, I would download the v4.x version instead of the new v5.0 version. We did encounter a bug in the "implode" function in a PHP 5.0 beta release, and this function is used by this script. I'm not sure if that bug has been fixed in the v5.0 release version of PHP or not.)

That web site also has a lot of useful information for how to use PHP.

As an alternative to using PHP, there is an HTTP GET based interface that you can use with NowSMS:

http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/Submitting_MMS_Messages_URL.htm

And there is a Java example at the following link:

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