Skip to content

Instantly share code, notes, and snippets.

View Showcase-Joz's full-sized avatar
🤓
being charitable

Joz Showcase-Joz

🤓
being charitable
  • Sunrise Enterprises
  • Chesterfield, UK
  • X @mrjozzi
View GitHub Profile
@Showcase-Joz
Showcase-Joz / .htaccess
Created May 23, 2017 11:20 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#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/

Contract Killer

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

@Showcase-Joz
Showcase-Joz / 2-waysms
Last active December 27, 2015 00:09
2-waysms php integration
<?
/*
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
@Showcase-Joz
Showcase-Joz / MCAPI.class.php
Last active December 25, 2015 07:48
This variation includes two name fields, a subject line and most importantly mailchimp integration. allowing you to add users directly to a mailing list upon their communication with you.
<?php
class MCAPI {
var $version = "1.3";
var $errorMessage;
var $errorCode;
/**
* Cache the information on the API location on the server
*/