send content to mobile from my own website

Discussion in 'Programming' started by saravana22, Sep 7, 2011.

  1. #1
    Hi to everyone

    I need codes with full help


    In contactus page we have forms, after enter content the give submit right.
    That content sent our mailID. But i need that content to my mobile give number .
    help with code or how to work for that one client need that help me.

    Any URL SEND ME learns84@gmail.com also
     
    saravana22, Sep 7, 2011 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    If you want it as a text, send it to an email-to-SMS gateway (there are no free ones you can use regularly). If you want it as an email, send it to your mobile's email address.
     
    Rukbat, Sep 7, 2011 IP
  3. saravana22

    saravana22 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hi i cant understand
    this is my mobile number +91-9962529150 india
    any explanation with code
     
    saravana22, Sep 7, 2011 IP
  4. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #4
    If you want the data sent to you as text, you'll have to open an account with an email-to-SMS gateway service, and email the data to the gateway, along with your mobile number. It'll be sent to your mobile as a text message. The code, other than standard "send an email" code, depends on the gateway you choose. They'll have examples for you to use.

    You can't send an SMS directly from your site to your mobile. (Gateways have hardware that lets the server place a "phone" call.)

    If you want to read it on your mobile like an email, just email the data to your mobile's email address using PHP's mail() function. You can see how to do that at http://php.net/manual/en/function.mail.php
     
    Rukbat, Sep 8, 2011 IP