www.webdeveloper.com
Results 1 to 2 of 2

Thread: Need An Help ForSend Sms Via HTTP ( PHP Codeing)

  1. #1
    Join Date
    Jan 2014
    Posts
    6

    Unhappy Need An Help ForSend Sms Via HTTP ( PHP Codeing)

    For Example i will fill the contct form online ...... With My Details Like For Example :--

    Name : Sai Ram
    Age : 133
    Phone number : 9482594120



    And when i press submit i should get a msg to the Submitted Phone Number (( $phone number ) telling

    """ Dear $Name Thank You For Contact Us ... ur Age Has Been Registered With Us As $Age. """

    the output Msg to submited Phone number Is
    Dear SAI RAm Thank You For Contact Us ... ur Age Has Been Registered With Us As 133.
    Like This I need So plz help me......



    <--------------------------------------------------------------------------------->
    Here Is Sms Code API From The Provider ...... If i fill the form and try to submit iam not reciving the msg plz help me...... I Have mentioned the Working Key Also Plz ucan test it with ur phone number.............. If it is out of india i think it will not work but any how plz help me with this code




    <?php

    include 'sendsms.php';
    $sms_config = array();

    $sms_config['api_url'] = 'http://alerts.3mdigital.co.in/api/web2sms.php';
    $sms_config['sender_id'] = 'SRISAI';
    $sms_config['working_key'] = '69940yiq7s6m29mlm6e2';


    $dlr_url = 'http://way2cab.com/testsms.php';// give your required url here
    $to = $phone;
    $message = 'Dear $Name Thank You For Contact Us ... ur Age Has Been Registered With Us As $Age.
    Worlds Biggest Marble Idol Of Shirdi Sai Baba
    www.saisamsthana.org Sai Baba Mandir, M.S Ramaiah
    City, -9845684783/9686866299, jaiguru6@gmail.com';


    $sendsms=new sendsms($sms_config['api_url'] ,$sms_config['working_key'],$sms_config['sender_id']);
    $sendsms->send_sms($to, $message,$dlr_url);



    ?>

  2. #2
    Join Date
    Dec 2002
    Location
    Seattle, WA
    Posts
    1,843
    The explanation of the problem is really vague.
    I tried to pull up the site to get information on the API.
    The site is down due to 509 bandwidth limit exceeded.
    This is most likely the reason why your script is not working.

    Epic fail on their part, releasing an API on a server that has limited bandwidth.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles