Newest Entries

Easy jQuery form validation and email validator


This is a very quick way to make sure people fill out all fields of a form. It is easy to bypass and is in no way a replacement for server-side form validation, but it’s a quick and easy way to prevent invalid form data from being submited. All of the code below requires you [...]

Filed under: Quick Tips
Read More

Force PHP to show all errors or save them to a log for troubleshooting


Most servers are set to suppress PHP errors which can leave you guessing why something isn’t working and make troubleshooting code almost impossible. This is especially frustrating when you install a 3rd party module with errors. Luckily forcing PHP to display errors is very easy. The most basic way to accomplish this is to just add [...]

Filed under: Quick Tips
Read More

Captcha Alternative using Flickr API with jQuery / JSON


As anyone who knows me knows I have an OVERWHELMING hatred toward CAPTCHA and am on an on going quest to come up with the best alternative. In my opinion, any worth-while alternative HAS to work atleast as well as captcha AND being easier for the user. Infact I feel it should be almost effort-less.

What I came up with (this time) is a system that presents a random Flickr image to a user and asks them to identify the image. I’m going to implement this in PHP and probably create a wordpress, drupal, and elgg plugin. However for now I’m going to create it using JavaScript / jQuery / JSON. This will allow me to create a quick functional prototype that should show if this is a practical method of stopping spam. In addition, I just want to explore the use of Flickr API in jQuery as I think it could have alot of pretty cool uses.

Filed under: Guides, Projects
Read More