On a recent project, I needed a quick, easy and simple caching function for XML files, so whipped up this little function.
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
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.