Blog

Friday, August 6th, 2010

Simple File Caching Script

On a recent project, I needed a quick, easy and simple caching function for XML files, so whipped up this little function.

How it works

It takes:

  • The URL of the file / XML you need to cache
  • The cache file, if one is not specified, it creates and uses “temp.txt”
  • The amount of time to cache the file, if one is not specified, it uses 12 minutes (you can change this to whatever you would like

(more…)


Friday, August 6th, 2010

Simple ACL Class for CodeIgniter

Hey guys, I was originally using an ACL Class that was posted on net tuts. After scouring the internet for an ACL plugin that was similar to the net tuts one I opted to just adapt the net tuts one since I couldn’t find one similar. I tried out the Zend ACL library but it didnt (that i saw) have the same functionality

- User by user permissions
- Multiple Roles
- Database configured
- Etc.
(more…)




All content © Copyright 2012 by Tasty Bytes.
Subscribe to RSS Feed – Posts or just Comments