PHP Classes

SMS Web Sender: Free SMS sending through existing SMS sites

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 11,272 All time: 109 This week: 404Down
Version Licenses Categories
sms_web_sender 1.0.0Freely DistributableWireless and Mobile
Description 

Author

PHP class which connects to a web site offering free SMS sending, logs you in with your username and password and sends your SMS message to a mobile number.

Picture of Keyvan Minoukadeh
Name: Keyvan Minoukadeh <contact>
Classes: 10 packages by
Country: United Kingdom
Age: ???
All time rank: 563 in United Kingdom
Week rank: 405 Down12 in United Kingdom Down

Details

============================================= SMS Web Sender 2 ============================================= Documentation is still a work in progress, please check <http://www.k1m.com> to view the latest. Installation ----------------------------- SMS Web Sender requires HTTP Navigator 2.2 or greater (found at <http://www.k1m.com>). Upload all files in the SMS Web Sender distribution and check the test/ folder to see 3 examples of how SMS Web Sender can be used. The quickest way to test is to run web_form.php. You will need to edit web_form.php first and specify the path to the HTTP Navigator classes, once that's done you can try accessing it from the web and you should see a web form asking for site details to be entered, try this and see if it works. If it does then you should look at the other 2 example files. Main Classes ----------------------------- +--- SMS_Web_Sender | +--+ SMS_Site | | | +--- SMSSend_Site | | | +--- SMS_Site_sitename* | +--- HTML_Functions * SMS_Site_sitename is an example of a custom class extending SMS_Site and overriding the send() method to handle the sending. These classes should located in the sites/ folder. SMS_Web_Sender holds instances of SMSSend_Site or SMS_Site_sitename (both subclasses of SMS_Site). Users only interact with the SMS_Web_Sender object, not the site objects themselves. SMS_Site is an abstract class which should be extended to implement specific site sending code. See sites/ folder for examples of this. SMSSend_Site is a subclass of SMS_Site which provides limited support for SMSSend scripts <http://zekiller.skytech.org/fichiers/smssend/doc_scr_en.html> HTML_Functions is a class providing helpful functions for extracting values from HTML. An instance of this class is available for all sites extending SMS_Site. Directory Structure ---------------------------- +--- classes | +--- sites | +--+ smssend_sites | | | +--- config | +--- test classes folder holds the following classes: - SMS_Web_Sender - SMS_Site - SMSSend_Site - HTML_Functions The above classes have been described briefly in the previous section sites folder holds custom site classes (extending SMS_Site), SMS_Web_Sender will look in this folder (along with smssend_sites) to determine if a site specified exists or not. If a site with the same name exists in both the sites/ folder and the smssend_sites folder, then the one found in sites/ will be used. smssend_sites folder holds SMSSend scripts (extension .sms). SMS Web Sender does not fully support SMSSend scripts, but the most basic ones should work ok. config is a folder within the smssend_sites folder which holds php config files for each smssend script. Config files are required for SMSSend scripts as SMS Web Sender works differently to SMSSend in that it allows multiple sites to be configured to handle SMS sends. For this to work the SMSSend errors and parameters must be mapped to the relevant SMS Web Sender ones. test holds php scripts showing how SMS Web Sender can be used in different situations.

  Files folder image Files  
File Role Description
Files folder imageclasses (4 files)
Files folder imagetest (2 files)
Accessible without login Plain text file readme.txt Doc. readme file

  Files folder image Files  /  classes  
File Role Description
  Plain text file HTML_Functions.php Class common functions for extracting data from HTML
  Plain text file SMSSend_Site.php Class class offering limited support for SMSSend scripts
  Plain text file SMS_Site.php Class site base class
  Plain text file SMS_Web_Sender.php Class main class

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file simple_send.php Test simple send example
  Accessible without login Plain text file web_form.php Test web form example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:11,272
This week:0
All time:109
This week:404Down
 User Ratings  
 
 All time
Utility:56%StarStarStar
Consistency:68%StarStarStarStar
Documentation:56%StarStarStar
Examples:-
Tests:56%StarStarStar
Videos:-
Overall:46%StarStarStar
Rank:3101