Michael A Heap

Tag | codeigniter

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: , , ,