Results 1 to 8 of 8

Thread: Send SMS

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    266

    Question Send SMS

    I am trying the following code to send SMS.

    PHP Code:
    <?php
      $gatewayURL  
    =   'http://localhost:9333/ozeki?';
      
    $request 'login=admin';
      
    $request .= '&password=abc123';
      
    $request .= '&action=sendMessage';
      
    $request .= '&messageType=SMS:TEXT';
      
    $request .= '&recepient='.urlencode('+9898989898');
      
    $request .= '&messageData='.urlencode("Hello World");

      
    $url =  $gatewayURL $request;

      
    //Open the URL to send the message
       
    file($url);
    ?>
    But I am getting the following error message.


    Warning: file(http://localhost:9333/ozeki?login=ad...ta=Hello+World) [function.file]: failed to open stream: Connection refused in /home/vpe/public_html/_demo2/sms/sms2.php on line 13

    Please help to rectify my code. Thanks a lot in advance.

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Send SMS

    does that URL work normally?

  3. #3
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Send SMS

    I remember dclamp saying on here awhile back that he created an sms system using php maybe he with be able to help?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  4. #4
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Send SMS

    The system i have is where you have to select the wireless carrier before you send the message. If you are interested i can find it for you.

  5. #5
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Send SMS

    Have a look at this.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2006
    Posts
    266

    Exclamation Re: Send SMS

    Hello and thanks a lot of you all.

    After reviewing all these I think I need to purchase a gateway to send SMS. Is it correct ? Is there any free gateway available ?

    What if I wish to design my own gateway ? Am I need to get my own server ?
    Please provide some information on this issue.

    Warm Regards.

  7. #7
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Send SMS

    Quote Originally Posted by systech44 View Post
    Hello and thanks a lot of you all.

    After reviewing all these I think I need to purchase a gateway to send SMS. Is it correct ? Is there any free gateway available ?

    What if I wish to design my own gateway ? Am I need to get my own server ?
    Please provide some information on this issue.

    Warm Regards.

    I remember that I joined one awhile ago that gave you the ability to send about 5 free sms before you needed to join and pay for the service. I haven't actually checked whether there are any services for free.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  8. #8
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Send SMS

    Quote Originally Posted by systech44 View Post
    Hello and thanks a lot of you all.

    After reviewing all these I think I need to purchase a gateway to send SMS. Is it correct ? Is there any free gateway available ?

    What if I wish to design my own gateway ? Am I need to get my own server ?
    Please provide some information on this issue.

    Warm Regards.
    I think, buying a cheap bulk sms plan is the best
    Most of them provides free API integration as well as free sender id.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

Posting Permissions

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



Click Here to Expand Forum to Full Width