Forum Moderators: coopster

Message Too Old, No Replies

PHP SMS messages

PHP SMS messages

         

Habtom

10:40 am on Mar 17, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello,

I have had the thought of notifiying customers with SMS Messages once changes occur on the orders they put, and I wanted that SMS to be triggered internally from the control panel when I change status like changing the status to shipped.

If you can guide me with any website providing that service using PHP scripts, I would appreciate it.

Thanks,
Habtom

eelixduppy

9:12 pm on Mar 18, 2007 (gmt 0)



A google search brings up a few sites that have some solutions you might want to look into. You might also have luck at the script repositories such as hotscripts, sourceforge, phpclasses, freshmeat, etc...

Good luck! :)

Note: Specific recommendations of tools or services are against WebmasterWorld's TOS [webmasterworld.com].

capulet_x

12:55 am on Mar 25, 2007 (gmt 0)

10+ Year Member



You might be able to implement somethong like this script to send it through e-mail if you already had the cell number you wanted to notify. Maybe another way is to create a script that will post (_$POST) to a page that allows you to send free SMS (I'm not sure if you can auto submit using javascript) never mind the fact that it may seem a little unscrupulous.

<?php
$to = "phonenumber@example.com "; //each carrier has their own way.
$from=" Joe <sales@example.com>" ;// I'm not sue if you even need this.
$subject = "Hi!";
$body = "Hi,\n\nHow are you? Something changed...blah, blah, blah";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>

Or you could use an SMS service or set up your own SMS server.

Regards...

[edited by: dreamcatcher at 9:12 am (utc) on Mar. 25, 2007]
[edit reason] Use example.com, thanks. [/edit]

capulet_x

12:56 am on Mar 25, 2007 (gmt 0)

10+ Year Member



somethong? What the hecks on my mind?