How to make a sms sending script in php?

Discussion in 'PHP' started by manijan, Nov 26, 2010.

  1. #1
    How can i make a sms sending script in php programming which can send a sms to any mobile in whole world without using any sms gateway?
     
    manijan, Nov 26, 2010 IP
  2. Epiic

    Epiic Greenhorn

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    You can't without using gateways. :/
     
    Epiic, Nov 26, 2010 IP
  3. almondj

    almondj Peon

    Messages:
    768
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    0
    #3
    And the gateway services typically cost. I think it's averaging $0.01 per sms, but I could be wrong.
     
    almondj, Nov 26, 2010 IP
  4. CPAPathNick

    CPAPathNick Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can send SMS for free by making a script that checks the carrier of the phone number or have the user select it!

    Then you can use the php Mail() function to send an email which in result sends the SMS message.

    Check out this link to figure out the correct email domains for each carrier:
    makeuseof(dot)com/tag/email-to-sms/
     
    CPAPathNick, Nov 26, 2010 IP
  5. Tomastamm

    Tomastamm Well-Known Member

    Messages:
    448
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #5
    you have to check 2-Way SMS Gateway , you can use Api connection
     
    Tomastamm, Nov 27, 2010 IP
  6. Maichel Boulis

    Maichel Boulis Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    nice post


    www.paper-news.net
     
    Maichel Boulis, Nov 28, 2010 IP
  7. Codd

    Codd Member

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #7
    For only sending sms, you could make a script that contacts free sms sites like Way2Sms and send sms using them.
    However, they will put their advertisements at the bottom of those sms.
     
    Codd, Nov 28, 2010 IP