Skip to main content

📘 Understanding Drupal: A Complete Guide to Caching Layers — my new book is out now!

[2011-11-26]

Sanitize Text for SQL

#php #security #tutorial #xss
Cross Site Scripting (XSS) and SQL Injections are some of the biggest security threats to a PHP application.  Every developer has different ways of preventing SQL Injections or malicious JavaScript from being inserted into the database.
[2011-11-26]

Setting Cookies with PHP

#cookies #php #tutorial #xss
If you plan on building a PHP application, you'll probably end up using cookies, especially if there are user accounts. Cookies will allow you to store specific data for a certain amount of time.
[2011-11-26]

EasyPHP - WAMP environment

#apache #easyphp #mysql #php #wamp
The easiest way to learn PHP is to be able to create and edit code and see instant results. When I was younger and learning I couldn't afford to have my own web server so I installed a WAMP environment - I also didn't have a spare machine laying around to toss Linux on.
[2011-11-24]

PHP Mail Class

#class #php #script
Mailer is a PHP class to help provide easier use of the PHP mail() function and error support. In all other of my scripts using the mail() function I would have lines upon lines of code just to make sure every thing sent right and provide my own error checking.
[2011-11-24]

PHP Server Variables

#php #tutorial #web
I know when I first started out learning PHP it was difficult finding good examples or live demos of simple PHP in use. Often I'd have a large number of files used to demonstrate built in PHP functions.
[2011-11-12]

jQuery Contact Form

#jquery
I've finally started to dive into jQuery. I figured what better way to start than to make a contact form.
[2011-06-27]

DateFormat PHP Class

#php
DateFormat is a PHP class for easily displaying timestamps in a PHP project, along with displaying a "time since" feature, much like the one used on Facebook and other sites.
[2011-05-14]

SR Photography

#business #php #web
SR Photography offered a nice gesture, if I created a PHP back-end contact form they would take infant pictures of our new born son.  Created a short and simple PHP script with field validation (NOTE: Did not design site or form, just the back-end functionality of the form).
[2011-05-14]

Game Ladder Script

#club #php #web
Two years ago I decided to check out an old gaming group that I used to play with years before that. I created a plugin to seamlessly add a ladder system into their web site.  A ladder system is typically used to match one-on-one matches. This allowed the group to add friendly competition without major overhaul of their web site.