This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am vadremix on github. | |
* I am thezeblin (https://keybase.io/thezeblin) on keybase. | |
* I have a public key ASBtjVSoj14ZCi4h6jfX4AD972evszro3lVY6anj8iFDpAo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class to create word objects. | |
* Includes method to check whether word is a palindrome. Can be | |
* extended with methods to check other properties of the word. | |
* | |
* @author James Roper <vadremix@gmail.com> | |
*/ | |
class Word { | |
protected $word_string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
// This is the controller for nsinformer.com landing pages. | |
// I wrote this in 2014. These comments were written a couple years later. | |
class Stories extends CI_Controller { | |
public function index($url) | |
{ | |
$this->load->database(); | |
$this->load->model('Storymodel'); |