Archive Page 3



Published September 5th, 2007 by Jim O'Halloran

Controlling Access to Images

The question was recently asked on the CodeIgniter forums, and I’ve run into it in various forms over the years, so I thought I’d share my answer here as well. The problem in a nutshell. I want to make some images on my site “private”, and only make them accessible to certain users. How can I do this, if someone can look at the code and be able to “guess” the image URL?
Continue reading ‘Controlling Access to Images’

Published August 30th, 2007 by Jim O'Halloran

Installing Flash Player 9 on Fedora

Installing Adobe Flash Player 9 on Fedora 7 is a piece of cake, only two commands! First, get a root shell (either log in as root, or su to become root), and type:

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

This will download and install the yum configurations and gpg keys necessary to install Flash via the yum updater. Next enter…

yum install flash-plugin

The system will then download and install the Flash player on your machine and register it as a Firefox plugin. You can make sure it worked correctly by opening a new Firefox windows and going to Adobe’s About Flash page. If it all woked, you should see a “Version Information” box which says something like “You have version 9,0,48,0 installed”.

Flash Player is really easy to install on Fedora, and having it makes the “new” web (e.g. YouTube, etc) a lot more usable, well worth the little time and effort required to get it installed.

Published August 27th, 2007 by Jim O'Halloran

Credit Card and Australian date CodeIgniter Helpers

Just thought I’d let everyone know that my I’ve posted two of my helper modules to the CodeIgniter Wiki. There’s a Credit Card helper which makes some common credit card operations a little easier, and an Australian Date helper which has a few functions to make working with Australian formatted dates (d/m/y) a little easier.

Hope someone else finds them as useful as I do.

Published August 26th, 2007 by Jim O'Halloran

links for 2007-08-25

Published August 15th, 2007 by Jim O'Halloran

links for 2007-08-14

Published August 14th, 2007 by Jim O'Halloran

links for 2007-08-13

Published August 11th, 2007 by Jim O'Halloran

links for 2007-08-10

Published August 4th, 2007 by Jim O'Halloran

links for 2007-08-03

Published July 31st, 2007 by Jim O'Halloran

links for 2007-07-30

Published July 26th, 2007 by Jim O'Halloran

links for 2007-07-25