Browsing articles for: June, 2010

Permalink to Simple Data Sanitization with preg_replace

Simple Data Sanitization with preg_replace

On 06.28.2010 by | 6 comments

Sanitizing data is a very important part of any server side scripting language, and it’s no different for PHP. So here is one simple way of sanitizing data using the dreaded REGEX.

Permalink to CSS Transforms and Transitions: Practical Examples

CSS Transforms and Transitions: Practical Examples

On 06.25.2010 by | 3 comments

Following on for my last tutorial, I’m now going to show a couple of examples of CSS transitions & transforms in action. This includes a list animation commonly created with jQuery.

Permalink to Fixing the Cross site scripting (XSS) vulnerability in Zazzle Store Buider 1.0.2

Fixing the Cross site scripting (XSS) vulnerability in Zazzle Store Buider 1.0.2

On 06.25.2010 by | 8 comments

Zazzle Store Builder is a fantastic tool to quickly display products from your Zazzle store on your own personal website or blog. Unfortunately there is a cross-site scripting flaw which needs to be addressed.

Permalink to Using CSS Transforms and Transitions

Using CSS Transforms and Transitions

On 06.22.2010 by | 10 comments

A awesome feature of CSS that has started to become a little more usable as CSS 3 draws nearer are the transform & transition properties. They can be used to manipulate elements in wonderful ways & animate without Javascript respectively.

Permalink to Writing Text On An Image With GD

Writing Text On An Image With GD

On 06.18.2010 by | no comments

Writing text on your images using GD is a handy ability to have. Maybe you are developing an imagehost or you have a project where you need to place text on an existing image. Whatever the reason here is how it’s done.

Permalink to Using Custom Fields In Your WordPress Template

Using Custom Fields In Your WordPress Template

On 06.14.2010 by | 9 comments

While you no longer need to use custom fields to help show post images they are still an extremely useful tool for theme developers. They can be used for all manner of different things, from displaying favorite films to showing what products a design is available on. In this tutorial we are going to look at how to use them.

Permalink to WordPress Conditional Template Tags

WordPress Conditional Template Tags

On 06.09.2010 by | no comments

Despite being a very useful feature in WordPress I have noticed that, in my experience, some WordPress users don’t know they exist. Here we take a quick look at why conditionals are, what they are used for, and even show a small example.

Permalink to How To Set Up Virtual Hosts In XAMPP

How To Set Up Virtual Hosts In XAMPP

On 06.05.2010 by | 33 comments

Setting up XAMPP on your computer in fairly easy thanks to the quick installer & control panel that enables you to set Apache & MySQL as services.

Permalink to How To Use Attribute Selectors In CSS

How To Use Attribute Selectors In CSS

On 06.03.2010 by | no comments

Today we are going to take a quick look at the ability of CSS to select elements using attribute selectors. We are also going to look at the new features added to attribute selectors in the CSS 3 specifications.

Permalink to Animated Sliding Info Pop-Up With jQuery & CSS 3

Animated Sliding Info Pop-Up With jQuery & CSS 3

On 06.01.2010 by | no comments

Today we are going to look at a quirky idea I was asked to make for a website I was building recently. It’s a way to provide extra information about an image without needing extra space.