PHP String Tokenizer
Function for replacing tokens in a string
This small function replaces tokens in a string with values passed in as an associative array. Useful for creating small templates when something like Smarty is overkill or not available
I wrote this for use in some form to email scripts
PHP Syntax Highlighting
Highlight PHP code for HTML display
Have you ever wanted to post code on your site and have it appear nicely formatted with syntax highlighting? It couldn't be easier.
Smarty De-Underscore Modifier
Convert strings with underscores to camel caps
This Smarty modifier removes underscores from strings and capitalizes the first letter after underscore.
For example, my_table_name becomes myTableName
Smarty Random Number Plugin
Generate random numbers within Smarty templates
This Smarty plugin returns a random number withing a range specified by arguments.
Useful for selecting random bits in your template like quotes, images, links, etc.
PHP HTTP Request Wrapper
Class for encapsulating GET, POST, and FILE requests
This is a tiny class that encapsulates HTTP requests in a read-only format. It allows you to access request parameters by name regardless of the request method, and set a default return value for parameters that were not found in the request.
PHP Validation Class
Encapsulated user input validator
One of the most common and time consuming tasks in web application development is also one of the most important. Input validation. This class encapsulates the validation to keep it in one place and out of your page handling code.