Browsing articles for: March, 2009

Permalink to Using HTML to Liven Up Your Zazzle Gallery Home Page

Using HTML to Liven Up Your Zazzle Gallery Home Page

On 03.29.2009 by LisaMarieArt | 8 comments

You’ve just opened an account with Zazzle. You’ve created a few products, uploaded a spiffy header, added a few product lines and wrote a nice little paragraph welcoming people to your gallery… but you yearn for something more, something different! This tutorial gives a few little hints and tips on how you can jazz up [...]

Permalink to ZStore Helper WordPress Plugin For Zazzle Store Builder

ZStore Helper WordPress Plugin For Zazzle Store Builder

On 03.23.2009 by Paul Robinson | 183 comments

Update: 08/11/2009 The plugin has now been updated to add the new products available on Zazzle such as binders & letterheads. Also a few bugs have been fixed. So a few members of Zazzle.com asked me to make a plugin for WordPress to make it easier to install the Zazzle Store Builder into WordPress. Usually [...]

Permalink to Confused.com Style jQuery Row Highlighter

Confused.com Style jQuery Row Highlighter

On 03.20.2009 by Paul Robinson | no comments

So that website Confused.com has a new feature that they have coined the highlighter, very original. It is quite impressive though. It allows you to highlight all the rows that match a certain criteria. Seeing as confused.com is a insurance comparison website it would allow you to highlight the insurers that will give you no [...]

Permalink to PHP Tip #4: Type Casting

PHP Tip #4: Type Casting

On 03.18.2009 by Paul Robinson | 5 comments

I kinda touched on Type Casting in the second PHP tip about is_numeric(). The basic idea is that you can force a variable’s value to another type. For instance, changing a string to an integer.

Permalink to Adding Annotation To Cropped Thumbnails Using ImageMagick

Adding Annotation To Cropped Thumbnails Using ImageMagick

On 03.16.2009 by Paul Robinson | no comments

You’ve probably seen them before, generally done by imagehosters. Yep, that’s them. The little thumbnails with the resolution & file size written in them. Well I’m going to show you how to make them using ImageMagick & PHP. If you don’t have ImageMagick you can find out how to install it in my previous tutorial [...]

Permalink to PHP Tip #3: The Ternary Operator

PHP Tip #3: The Ternary Operator

On 03.14.2009 by Paul Robinson | 2 comments

This is probably one of my favorite PHP features. It can be a little complicated to get used to at first, but it really saves a lot of time & can be extremely useful.

Permalink to PHP Tip #2: Is_Numeric() Is A Very Useful Thing

PHP Tip #2: Is_Numeric() Is A Very Useful Thing

On 03.13.2009 by Paul Robinson | 4 comments

The second in my series of PHP tips is to do with the extremely handy is_numeric(). When allowing user input it’s extremely important to check the input for attacks. The most common piece of information handed to MySQL is an ID, but novice coders can get confused with how to check the input. The main [...]

Permalink to PHP Tip #1: Formating Array & Object Output When Debugging

PHP Tip #1: Formating Array & Object Output When Debugging

On 03.09.2009 by Paul Robinson | 2 comments

This is the first in a series of posts I’m doing on small tips which help when coding with PHP. The first is a one most devs probably know, but novice or new coders may not know and probably should.

Permalink to Deleting Files In A Directory Older Than Today Every Week With PHP

Deleting Files In A Directory Older Than Today Every Week With PHP

On 03.09.2009 by Paul Robinson | 10 comments

A few days ago, before the hacking malarky, I needed a script that I could run via Cron to delete the contents of a folder that were older than a week from a certain day. For example; Let’s say it’s Saturday, I want the script to delete all files older than Saturday… Get what I [...]