How to make PHP form that sends its results as a text message?
michaelnaeseth
2010-01-09 21:23:19 UTC
I want customers to be able to fill out a form on my website and when they click submit, I need those results sent to me in a text message on my phone. Can anyone give me some pointers, helpful information??
Four answers:
?
2010-01-13 13:39:10 UTC
You need to buy an SMS gateway for this.. SMS Gateway enables you to easily send and receive text messages over GSM / CDMA cellular telephone networks from your local PC or through the internet...
you will get it from any cellphone provider...
Marc
2014-04-22 17:29:21 UTC
Take a look at this tutorial, it will show you how to send text messages from PHP:
To expand upon previous answers, most major carriers already provide SMS gateways.
Note however that I would not recommend depending only upon SMS for reliable delivery of critical information. In other words, you might want to do something else as well (email it elsewhere, keep a copy in a database, or whatever).
anonymous
2010-01-09 21:50:51 UTC
Use the PHP mail() function and send the message to your phone's email address. http://us.php.net/manual/en/function.mail.php
If you want to send it directly as an SMS, you'll need an SMS gateway to send it through.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.