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

Posted on 2009-02-09
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
Question by:thanksomuch
    LVL 4

    Expert Comment

    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 You will need to have the user's gateway e-mail address, though.
    LVL 4

    Expert Comment

    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.

    Author Comment

    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?
    LVL 4

    Accepted Solution

    See the mail() function to send e-mail.

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now