Archives for November, 2008

You can see regular expression examples at this site. Very useful. This is the content: Examples Numeric Ranges Floating Point Numbers Email Addresses Valid Dates Credit Card Numbers Matching Complete Lines Deleting Duplicate Lines Programming Two Near Words


I was looking for some actions sharing methods weird solution (since I was trying to apply a per-action classes model, and I needed to use methods from one action onto another), and I had no luck at all. However, what I did find out was fabien saying repeteadly that actions code should not be messy, hard [...]


The concept around this is to serve a 1px image through a PHP script. This allows you to insert a new record or update an existing one about read mails. In your mail you only have to insert an image tag like this at the end of the template: <img src="<?php echo url_for('stats/image?bulletin='.$id, 'absolute=true') ?>" alt="px.gif" /> And [...]