Skip to content

Instantly share code, notes, and snippets.

View robotamer's full-sized avatar

TaMeR robotamer

View GitHub Profile
@robotamer
robotamer / KvLite.php
Created December 3, 2011 10:43
key value database based on Sqlite
<?php
/**
* An open source application development framework for PHP
*
* @category RoboTaMeR
* @author Dennis T Kaplan
* @copyright Copyright (c) 2008 - 2011, Dennis T Kaplan
* @license http://RoboTamer.com/license.html
* @link http://RoboTamer.com
*/
@robotamer
robotamer / Strsafe.php
Created December 3, 2011 10:36
Encode, decode and also serialize when nessesery
<?php
/**
* An open source application development framework for PHP
*
* @category RoboTaMeR
* @author Dennis T Kaplan
* @copyright Copyright (c) 2008 - 2011, Dennis T Kaplan
* @license http://RoboTamer.com/license.html
* @link http://RoboTamer.com
*/
@robotamer
robotamer / addInclude.php
Created May 11, 2011 06:49
Add a directory to the php include path
<?php
/**
* Description Add a directory to the php include path
*
* @package TaMeR
* @category File
* @type Function
* @author Dennis T Kaplan
* @copyright (C) 2009-2011 Dennis T Kaplan
* @license GPL {@link http://www.gnu.org/licenses/gpl.html}
@robotamer
robotamer / rstrstr.php
Created April 21, 2011 08:39
php rstrstr
<?php
/**
* @author : Dennis T Kaplan
*
* @version : 1.0
* Date : June 17, 2007
* Function : reverse strstr()
* Purpose : Returns part of haystack string from start to the first occurrence of needle
* $haystack = 'this/that/whatever';
* $result = rstrstr($haystack, '/')