CAT | PHP
The other day I was trying to help someone create a Form in the admin side of Magento that would simply POST to a Controller and capture some data. I thought it’d be fairly simple, I’ve done it before; I thought. Turns out I had done it before, but I’ve always used the built in [...]
Affects: Drupal 6.20 If you try to read a value from a session that has not been set your Drupal user will be logged out. Example: sess_write(‘myValue’,TRUE); echo sess_read(‘myValue’); OK echo sess_read(‘myValue’); NOT OK, user is logged out.
Sometimes, you’ve got a situation where you want to have a globally available static function. Most often this occurs (for me) in a debugging context. Recently I wanted to have FirePHP available from anywhere in my project so I made use of the lib folder. Unlike just about every other article on this site, for [...]
It’s possible to setup process to run on a schedule provided that your server is setup to run cron. All internal cron jobs are run from a single page/script call. You’ll need to setup your server to either; make a request to /cron.php or execute /cron.sh. The time delta that you set here will be [...]
One of the many aspects to good module development is packaging everything up in such a way that the module is as standalone as possible. The goal is to provide a third-party with a single package that can take care of itself. Many modules will make use of custom database tables and/or Magento storage mechanisms. [...]
