[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

how to use php to control a mobile phone to give put sms ?

Posted on 2009-02-09
5
Medium Priority
?
197 Views
Last Modified: 2013-12-12
i have a web page which can store the login time of the client~
however , how to automatically give a command to the mobile phone to give out sms to the host when the client login time is later than 9:00?

i.e. when the client login time is 10:00 , give out the time message sms
hi, ABC , the login time of u is 10:00
0
Comment
Question by:thanksomuch
  • 3
4 Comments
 
LVL 4

Expert Comment

by:AdamsConsulting
ID: 23596940
Most cell phone providers offer an e-mail to SMS gateway. For example if your phone number was 0123456789, you may be able to receive an SMS by sending an e-mail to  0123456789@cellphone.providers.gateway.com. You will need to have the user's gateway e-mail address, though.
0
 
LVL 4

Expert Comment

by:AdamsConsulting
ID: 23596945
I guess I should have mentioned that once you have that e-mail address, it's pretty trivial to send e-mail using PHP. The other option of course is to purchase access to an SMS gateway and use their API to send text messages.
0
 

Author Comment

by:thanksomuch
ID: 23597655
o thx~~and how to send email using PHP automatically ? the script is ? ~ also can i use some other programming landguage to  send control the mobile phone connected to the host computer to send sms to the client?
0
 
LVL 4

Accepted Solution

by:
AdamsConsulting earned 1000 total points
ID: 23604119
See the mail() function to send e-mail.

http://us3.php.net/manual/en/function.mail.php

Theres is no way to have your site start an SMS message on the cell phone that is browsing your site.  You would need to send it through your own SMS or e-mail gateway.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses
Course of the Month18 days, 22 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question