Miscellaneous
  Home arrow Miscellaneous arrow Page 12 - Sending SMS Thru HTTP
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Forums Sitemap 
Download TestComplete 
JMSL Numerical Library 
IBM® developerWorks
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MISCELLANEOUS

Sending SMS Thru HTTP
By: Codewalkers
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 35
    2005-05-11

    Table of Contents:
  • Sending SMS Thru HTTP
  • Understanding the Requirements of the Gateway
  • Prepare the Request
  • Sending the request with CURL
  • Sending the Request with Sockets
  • Conclusion
  • Introduction
  • Understanding the Requirements of the Gateway
  • Prepare the Request
  • Sending the request with CURL
  • Sending the Request with Sockets
  • Conclusion
  • Introduction
  • Understanding the Requirements of the Gateway
  • Prepare the Request
  • Sending the request with CURL
  • Sending the Request with Sockets
  • Conclusion
  • Introduction
  • Understanding the Requirements of the Gateway
  • Prepare the Request
  • Sending the request with CURL
  • Sending the Request with Sockets
  • Conclusion
  • Introduction
  • Understanding the Requirements of the Gateway
  • Prepare the Request
  • Sending the request with CURL
  • Sending the Request with Sockets
  • Conclusion
  • Introduction
  • Understanding the Requirements of the Gateway
  • Prepare the Request
  • Sending the request with CURL
  • Sending the Request with Sockets
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Sending SMS Thru HTTP - Conclusion


    (Page 12 of 36 )

    That's It! Although it took me a long time to find CURL, I think it is the best, neatest and quickest option assuming your version of PHP supports it. Furthermore, whilst both fsockopen and CURL can send thousands of messages in one go, fsockopen might give you difficulties when parsing responses for large requests as the responses are transferred in chunks.

    The above took me ages; I hope it saves you time.

    About the Author

    Farheen Rehman is the editor of BestKeptSimple, a very popular blog about SMS. She is very well versed with the commercial use of SMS and provides consultancy for organizations that want to add it to their communications mix.

    More Miscellaneous Articles
    More By Codewalkers


       · You can use the http_build_query() function instead of using the foreach loop by...
       · When sending request using sockets, you set the $method variable to...
       · With regards to http_build_query, sounds interesting! I'd like to give it a go when...
       · Thanks for the comment.Basically, you can replace "POST" with...
       · If I want to set up a system that is to send texts to individuals in different...
       · You'll find that all SMS Gateways require you to pass them the telephone numbers of...
       · To avoid encoded chunks, use HTTP 1.0.
       · Have you tried it? Does it work?
       · Chunked transfer-encoding was introduced in HTTP 1.1. The only mention of...
       · thank u for ur good work !!!
       · for Philippines, China, Japan, Hong Kong, Indonesia, Thailand, Singapore and...
       · salam! kişi iki gündür senin mailini...
       · salam! kişi iki gündür senin mailini...
       · Hy.... can anyone help me with this script. I can't help myself. Can anyone send me...
       · 
       · gjmbnmbbbnm
       · With the new api you need to change a few params..you need add...
       · sir first time try to this option isnot success but mail server option is vary...
       · I read through the tutorial, and I am a little confused on how the pieces of code...
       · here is another very simple worldwide SMS gateway....
       · Hi,I have found another solution at http://www.ozekisms.com, that is just us...
     

    MISCELLANEOUS ARTICLES

    - Stopping CSRF Attacks in Your PHP Applicatio...
    - Quick and Dirty AJAX Tutorial
    - Flickr Puzzle Mashup
    - The PAVISE of Security
    - Creating a CAPTCHA with PHP
    - Sending SMS Thru HTTP
    - The Postal Fix - Part 2
    - Adding Mail with Exim
    - The Postal Fix - Part 1
    - Create Your Own Custom API
    - Adding Drop Shadows with PHP
    - Writing a Basic Authentication System in PHP
    - Overlapping Images with GD
    - Using Sockets in PHP
    - Dynamic CSS with PHP





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
    Stay green...Green IT