July 19th, 2011
This.Disabled = True Doesn’t Work in Chrome
A common way to prevent duplicate forms submissions caused by the user clicking the submit button twice is to do this: <input type="submit" value="Submit" onclick="this.disabled=true;"> This doesn’t work in Chrome. When the button is disabled, all events associated are halted including the form submission. Instead we had to do this: jQuery.fn.preventDoubleSubmit...
July 19th, 2011
Disallow Bad Robot User Agent in .htaccess
Thanks Guys: http://perishablepress.com/press/2010/08/09/2010-user-agent-blacklist/
July 7th, 2011
Codeigniter – CI Log_Path Problem
So, even though I don’t understand why this is happening, Codeigniter is unable to capture the path to the system/logs folder. Here is a way to set it manually in your config.php file: $config['log_path'] = getcwd() . '/' . SYSDIR . '/logs/';
July 7th, 2011


