RE: [PHP] Help me!!!Can I use PHP to send SMS message???
| From: | Frank Hertogs | Date: | Thu, 28 Feb 2002 22:10:18 +0000 |
| Subject: | RE: [PHP] Help me!!!Can I use PHP to send SMS message??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86663@lists.php.net to get a copy of this message | ||
Another way of doing it is thru an e-mail to sms gateway; free or paid.
That way you could make a simple form and use mail();
Just a thought.
Frank.
-----Oorspronkelijk bericht-----
Van: Simon Willison [mailto:cs1spw@bath.ac.uk]
Verzonden: donderdag 28 februari 2002 12:30
Aan: hei
CC: php-general@lists.php.net
Onderwerp: Re: [PHP] Help me!!!Can I use PHP to send SMS message???
hei wrote:
>Help me!!!Can I use PHP to send SMS message???If yes, how can I use
it???
>
>
>(((Please e-mail the answer to me ---waiwinghei@yahoo.com.hk)))
>
One very cheeky way of doing this would be to sign up to one of the free
SMS services on the web (such as lycos mobile) and set up a PHP script
that can "pretend" to be a browser, log in to your account and post a
message to the "send SMS" form. You could do this using something along
the lines of CURL or Snoopy (I recommend Snoopy as it doesn't require
anything to be installed on your web server):
http://snoopy.sourceforge.net/
You would have to figure out how the authentication scheme for your
chosen web-based SMS service works (most of them use cookies). The main
disadvantage is that it's a bit of a dirty hack and it would stop
working if the free web service went down or changed the way its
authentication / SMS form worked. Free services also tend to limit you
to a certain number of messages a day.
The professional alternative is to invest in some kind of web to SMS
gateway, but I think that's quite an expensive option.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php