CakePHP : Form Radio Default Checked Value

With the CakePHP FormHelper, you can output a set or a list of radio button widgets.

iTunes : Change podCast Feed URL

At some stage, you might need to change the podcast feed URL of your podcast listed in the iTunes directory. In order to do so, you’ll need to tell the iTunes podcast directory that a new feed URL is available by inserting a tag into your XML structure. See the example below.

WordPress : Safari

If you’ve been trying to write posts in the WordPress TinyMCE editor using the Safari web browser, you might have noticed that breaklines are not correctly treated and that your posts end up being a single block of text rather than paragraphs as expected.

CakePHP Crontab

Due to the way that CakePHP rewrites URL requests with its router, it might seem confusing to execute a Crontab to run a controller action. I will show you how to set up a cron dispatcher so that you can execute all your different controller action schedules on a single file and pass the controller

PHP : Cannot use a scalar value as an array

I was working on a WordPress plugin today and came across the most disturbing PHP warning error which I have never seen before in all the time that I’ve worked with PHP. The warning error message was : Warning: Cannot use a scalar value as an array What caused this error was when I tried

Xampp phpMyAdmin Problem

I started XAMPP today and tried to open phpMyAdmin (http://localhost/phpmyadmin/) in my browser in order to do some database management. Unfortunately I was presented with the following error message : cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly After playing around

Linux : Change file/folder owner

On a Unix based system, all files and folders belong to a group and a owner. Or rather, an owner and a group has specific permissions to read, write and execute files. So you might need to change the owner of certain files and folders so that you’ll be able to open them, edit them

MySQL : Transfer database from server to another server

In this article, I will show you how to dump a mysql database from one server to another remote server without having to export and import your SQL structure and data. We’ll dump a database directly to another empty database on another, remote server. In order to do this, you’ll need shell access to both

Server to server file transfers

Server to server file transfers are relatively easy on a dedicated or virtual private server running Unix. I’ll quickly show you how to use the scp command which acts just about exactly the same as the cp command. It copies all files from a specified source path to a destination path on the remote server

Mac OS .OGG to .MP3

There are probably other ways to convert OGG format to MP3, including some opensource/freeware command line scripts, but I managed to achieve this with an application called EasyWMA which is most definitely worth the $10 for a full license. Not only does it convert OGG to MP3, but it encodes/decodes many other formats as well.