Tuesday, March 27, 2012

Crontab in UNIX with PHP



1-crontab -e (edit cron)

2:-----------

*/5 * * * * /usr/bin/curl http://abc.com/index.php > /dev/null

5=minutes
/dev/null=clear email

Thursday, March 15, 2012

Remove index codeigniter with wamp in httpaccess

Remove index codeigniter with wamp in httpaccess


IfModule mod_rewrite.c


RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteBase /Test_codeigniter_plugin/
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]


IfModule