The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
<?php | |
class MCAPI { | |
var $version = "1.3"; | |
var $errorMessage; | |
var $errorCode; | |
/** | |
* Cache the information on the API location on the server | |
*/ |
<? | |
/* | |
Simple and easy for modification, PHP script for SMS sending through HTTP with you own Sender ID and delivery reports. | |
You just have to type your account information on www.2-waysms.com and upload file on server. | |
Istruction: | |
// Find 2 parameters in <body> and type your account information on www.2-waysms.com | |
1. $from = "********"; // Change ********, and put your SMS Number in www.2-waysms.com account |
#301 Redirects for .htaccess | |
#Redirect a single page: | |
Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
#Redirect an entire site: | |
Redirect 301 / http://www.domain.com/ | |
#Redirect an entire site to a sub folder | |
Redirect 301 / http://www.domain.com/subfolder/ |