Garrett St. John

I am a web developer and partner at Bold. This is where I share my thoughts, discoveries and other random bits.

Topic Archives: CodeIgniter

CodeIgniter File Upload: Changing the File Name

August 25, 2009

There has been some interest lately about how to change the file name of uploaded files with CodeIgniter. I will review how to do this with the base File Upload library as well as extending the library to allow for a defined file name. Using the Base File Upload Library The base file upload library [Keep Reading…]

Dreamhost API Library for CodeIgniter

August 17, 2009

As I’ve said many times before, I love CodeIgniter. The framework is fluid and light-weight and the developer community is great. I’ve been inspired many times by the extensive list of CodeIgniter libraries provided by Elliot Haughin and decided I ought to follow in his footsteps with a great new API library. Today I released [Keep Reading…]

Common Issues with CodeIgniter File Upload

August 3, 2009

In the last post I wrote about how to extend the File Upload Library to set disallowed file types rather than only the allowed file types. There was a fair amount of interest in file upload for CodeIgniter and so I’ve decided to post some tips for troubleshooting the most common issues I’ve come across. [Keep Reading…]

CodeIgniter File Upload: Setting Disallowed File Types

July 29, 2009

Recently I was working with a client on a file upload page in CodeIgniter. The client wanted to accept any file type except for those that could be considered malicious (For example – Windows EXEs, VB scripts, etc.). Seemed easy enough as I’ve done file uploading in CodeIgniter many times. Initially I jumped into the [Keep Reading…]

FormIgniter: Easy Form Generation for CodeIgniter

July 7, 2009

I recently caught wind of a great web-based form generator for CodeIgniter, called FormIgniter. With the form validation built into CodeIgniter life is a whole lot easier than coding in straight PHP, but it can still be pretty tedious. As FormIgniter puts it: To build a form with the form validator and form libraries you [Keep Reading…]