17
Dec

Easiest way to get Lat/Long GPS coordinates from Google Maps API with PHP

So I built a properties rental website and they wanted to show a marker on a google map for where the property was. Well before I…

Continue Reading →

17
Dec

Contact Form Hijacking – How to secure your PHP contact forms from header injection

When coding contact forms in PHP, most people don't realize that unless they've taken the necessary measures, it will probably be vulnerable to header injections. This…

Continue Reading →

29
Nov

jQuery HTML5 Placeholder Input Fallback (for browsers that do not support the placeholder attribute)

Hey, placeholder is a really useful HTML5 feature but unfortunately not all browsers support it. So here is a small jQuery script that will replicate placeholder…

Continue Reading →

07
Nov

My pastebin site is back online

After 2 years of the site being offline and the code hidden away on an old development machine, I decided to dig it up and put…

Continue Reading →

07
Nov

PHP function for Resizing and/or Cropping images with GD

There are a number of classes or functions available on the internet for resizing or cropping images, but none of them suited me for one reason…

Continue Reading →

11
Oct

Brilliant HTML/CSS3 form, input and validation styles

Below are a few excellent form designs I stumbled across while looking for inspiration. I will be adding more here as I stumble across them. Where…

Continue Reading →

14
Aug

TinyMCE: Simple config AND stripping formatting upon paste

Just a quick post to share my configuration options to get TinyMCE looking simple as possible for those times you don't need 4 whole toolbars worth…

Continue Reading →

14
Aug

TinyMCE: Remove ‘path’ from status bar, Disable resizing, or remove the status bar completely

While working on a project, I have been playing with TinyMCE's configuration options to suit my needs. I was looking to disable the status bar from…

Continue Reading →

21
Feb

From web developer to designer…

A great developer, but not so much a designer. It seems that over the years working as a web developer all my my focus went into…

Continue Reading →