Monthly Archives: September 2009
true v/s TRUE is actually case insensitive : PHP Tips
Fact is : To specify a boolean literal, use the keywords TRUE or FALSE. Both are case-insensitive. We assume in moodle: http://docs.moodle.org/en/Development:Coding_style#Booleans_and_the_null_Value Booleans and the null Value Use lower case for true, false and null. We assume in CodeIgniter: http://codeigniter.com/user_guide/general/styleguide.html#true_false_and_null … Continue reading
Posted in Featured, Newbie, PHP, PHP-Tips
Tagged actually, case insensitive, PHP-Tips, true v/s TRUE
My CodeIgniter .Htaccess
This is my .htaccess file RewriteEngine on RewriteCond $1 !^(index\.php|images|user_guide|assets|captcha|robots\.txt) RewriteRule ^(.*)$ index.php/$1 [L] It should be placed in root of the website. Rewrite module of apache should be enabled or it will give you an 500 internal server error. … Continue reading