Michael A Heap

Tag | PHP

Custom Wordpress Taxonomies

I can’t think of any practical applications apart from the one given over at Web Developer Plus – but this is too cool not to share.
The basic example was that if you’re running a movie review blog, categories for genre and tags for actors/actresses may work, it would be nicer to have a taxonomy of [...]

Category: Code, PHP Tags: , ,

iTunes Library Parser

I found my old minidisc player the other day, and I can’t stop listening to it. The sound it produces is so much better than what I’m used to nowadays. I checked out my itunes library and as I expected, a lot of songs in there were at 128kbps. That’s bearable but I also discovered [...]

Category: Code, Featured, Music, PHP Tags: , ,

PHP Short Tags

After reading that PHP6 might drop support for short tags, I decided to update my main Codeigniter project to use full php tags. I didn’t want to have to go through each file and update them by hand, so I set about automating it. I managed to do it using grep, awk and perl, and [...]

Category: Code, PHP Tags: , , , , , ,

Codeigniter Setup

To start with, you’ll want to grab the latest copy of Codeigniter and extract the files into the folder you’ll be working with.
If it says “Welcome to Codeigniter”, we’re in business. You’ll want to update ./system/application/config/config.php and set $config['base_url'] to be your development address. You’ll also want to update $config['index_page'] and set it to a [...]

Category: Code, Featured, PHP Tags: , , ,

Next Page »