Sending sms using php script

Discussion in 'PHP' started by vouchme, Jan 17, 2011.

  1. #1
    Hello

    can anyone tell me how can I send sms using php script? I am looking a script which can send sms to any country.

    Thank you
     
    vouchme, Jan 17, 2011 IP
  2. kokulusilgi

    kokulusilgi Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you must buy sms credits for this and then you must use sms gateaway api your script.
     
    kokulusilgi, Jan 17, 2011 IP
  3. Rudolf Bodocsi

    Rudolf Bodocsi Peon

    Messages:
    69
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,

    You have 2 option:
    1. Connect to your computer one mobile phone modem and you need a contract with mobile provider. You have PHP class for controlling over serial port. You need to figure out what commands need your mobile modem to send SMS. Mostly standard AT commands use. This option is not good if you want to send a lot of sms.
    2. Sign up on internet with a SMS Gateway provider. They provide you with PHP API and sample code which you can use for your web application. You can ask your mobile provider as well for SMS Gateway.

    Rudolf
     
    Rudolf Bodocsi, Jan 17, 2011 IP
  4. Tomastamm

    Tomastamm Well-Known Member

    Messages:
    448
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    110
    #4
    you have to check 2-way sms gateway , api for sending via http
     
    Tomastamm, Jan 17, 2011 IP
  5. bibinsmk

    bibinsmk Active Member

    Messages:
    205
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    There are two options
    1) Send SMS thirdpary SMS gateways
    2) Send SMS using a GSM modem. . For this you have to buy a GSM modem and send sms using serialport programming
     
    bibinsmk, Dec 4, 2012 IP
  6. Yaldaram

    Yaldaram Member

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #6
    I'll recommend this.
     
    Yaldaram, Dec 6, 2012 IP