\\ Server Side

June 17th, 2009

Introducing the Ultimate Gallery Management System!

Introducing the Ultimate Gallery Management System!

If you've been following me on twitter, you may know that I have been working on a big project for ThemeForest recently. Today, I am proud to announce that months of hard work have paid off as the component has officially launched with version 1.1 today! I'd like to show off the system and discuss exactly what it does, so you can have a better idea.

read more
June 3rd, 2009

How To Use Custom ini Files With PHP

How To Use Custom ini Files With PHP

The special 'config' file is a very important file at the heart of almost every web/software application. The config file typically holds information that will be used over and over again, such as database info. There are plenty of ways you can go about creating a config file. Many just create a new file with some defined constants and include the file. Others use a database or XML file for config storage. Today, we will have a look at a simple example of using a custom ini file to set our preferences.

read more
May 9th, 2009

Remove an Item From an Array By Value

Remove an Item From an Array By Value

I was working on my CMS a couple days ago when I was trying to remove an item from an array by value. I tried to find a function already built into PHP but couldn't. I developed this little function to do this simple task for me.

read more
May 3rd, 2009

How to Validate Age With PHP

How to Validate Age With PHP

I was recently browsing the analytic statistics and information for Dev-Tips when I noticed that a common search was appearing on the site. The search terms were how to validate age with php. I immediately saw this as an opportunity to provide an answer to a very simple php question, as it is quite simple to validate an age with php. Let's have a quick look and write a script that will allow us to validate that a user is a certain age with php.

read more
May 2nd, 2009

Create a Simple Input Sanitation Function With PHP.

Create a Simple Input Sanitation Function With PHP.

I don't care what anybody tells me, PHP security is the number one thing I'm concerned about when writing a script. If you were to directly input data from $_POST or $_GET into a MySQL database, you could (and probably will) be in for a world of trouble. Today I'll walk you through the steps of creating a very easy to use input sanitize function in PHP.

read more
April 29th, 2009

5 Quality Sites to Increase Your Knowledge of PHP

5 Quality Sites to Increase Your Knowledge of PHP

Recently, a friend of mine asked me if I knew of any good tutorials or websites for people that are beginners to intermediate skill level with php. There are many websites, one could say too many, that have sub par tutorials and tips on php. If you are looking for some quality sites to visit and really increase your knowledge of the language then this post is for you! Join us as we take a look at 5 quality sites to increase your knowledge of php, all of them have been Drew Approvedtm, so you know it's good.

read more
April 26th, 2009

WordPress Plugin: Envato Recent Items, Updated!

WordPress Plugin: Envato Recent Items, Updated!

Howdy folks! In case you missed it, I recently wrote an article for the ThemeForest Blog entitled display your recent items with WordPress and the Envato API. This post showed you how to display items from markets like ThemeForest and Flashden on your blog, along with their thumbnails and links. Well, the plugin has been updated with some new features and is now available on the WordPress plugin directory. Read on to find out about the features and how to use the plugin!

read more
April 21st, 2009

4 Fantastic PHP Output Buffering Tricks for Web Developers

4 Fantastic PHP Output Buffering Tricks for Web Developers

If you've read my Dev Tips article Output Buffering for Web Developers, a Beginner's Guide you know that PHP output buffering is useful and awesome at the same time.

To recap the article, output buffering puts your PHP script's output in a buffer instead of sending it directly to the browser in pieces, allowing you to manipulate your webpage as a whole before the user sees it. That awesomeness is what we'll take advantage of now.

read more

\\ Client Side

May 9th, 2009

Interview with Drew Douglass on Fuel Your Coding

Interview with Drew Douglass on Fuel Your Coding

Howdy everyone, I hope the weekend is treating you well. Recently, I was contacted by the Fuel Brand Network to do an interview for their new site, Fuel Your Coding. Needless to say, I was ecstatic. I thought I would post the link here in case any of you would like to browse through it. A huge thanks to FuelYourCoding for having me!

read more
May 3rd, 2009

CSS Tip: How to Make Circles Without Images

CSS Tip: How to Make Circles Without Images

About a month ago, Jeffery Way posted an article about creating shapes with pure CSS, no images added. I've been using the CSS3 property of border radius a lot in a design I've been working on and thought, "why can't I use this to make circles?" Today, I'll show you how to make your very own CSS circles. In addition, we will use our new knowledge to create a simple jQuery plugin!

read more
April 30th, 2009

Javascript Tip: Easy Fading Using jQuery

Javascript Tip: Easy Fading Using jQuery

Whilst working on a project recently I came across a need for us to show a selection of images depending on their type and when a link to them is clicked. I decided to use jQuery as it saves a lot of time as most of the work is done for you. I will step through the code so you can see how I did it.

read more
March 9th, 2009

How to validate Date of Birth with jQuery

How to validate Date of Birth with jQuery

In a recent project I had to implement what's commonly referred to as a Legal Drinking Age (LDA) page. Basically what needs to happen is that the user has to enter their date of birth and thus 'confirm' that they are of a legal drinking age for their respective country. You can view an example of just such a page here.

This brought me to an interesting requirement - the user needs to enter their birth of date (in this case via 3 select boxes), their age then needs to be calculated from the entered date and they are either granted, or denied access based on the result.

read more
February 18th, 2009

An Interview with Chris Coyier

An Interview with Chris Coyier

I recently had the absolute pleasure of interviewing one of my favorite internet heroes, Chris Coyier of CSS-Tricks.com. Chris is a web designer and developer and you have probably seen his stuff all over the net. The interview was conducted on the famous NETTUTS.com and I encourage you all to check out the interview and let me know what you think!

read more
January 30th, 2009

ID Your BODY: A Simple CSS Trick With a lot of ROI

ID Your BODY: A Simple CSS Trick With a lot of ROI

One of the latest raves in Web design is to add an id attribute to the body tag, like <body id="coolpage">. It's a small thing, but it's a damn good idea!

Why? Let's say you have 15 pages total on your Geocities Star Wars fan site. You want the headlines (<h1>Headline!</h1>) to be 16 px in size with the exception of the home page. On the homepage you want the headlines to be 18px and bold!

Will you make a new separate CSS file just for the homepage that the user has to download in addition to the default CSS? NO! You're too good for that! You & C3PO hang out on the weekends.

read more
January 16th, 2009

PHP Tip: Add Custom Google Search Results to Your Site with PHP

PHP Tip: Add Custom Google Search Results to Your Site with PHP

Have you ever wanted to integrate a custom google search on your site, and style it to your liking? Today, one of our new Dev-Tips author Brian Cray will take you through adding custom google search results to your site with php.

read more
January 16th, 2009

jQuery Tip: Font Resizing With Animation Effects

jQuery Tip: Font Resizing With Animation Effects

Hey everyone. Sorry for not having a new tip published yesterday, I was feeling under the weather. Seeing how popular the original font resizing with jQuery article was, I thought it would be nice to spice up our original script with a little animation. This is extremely easy to do with jQuerys built in animation functions.

read more

Dev-Friends

Are My Sites Up?
« Older Entries