Archive for December, 2009

Simply rewrite your search url to seo freindly.

Add the following code into your htaccess file

RewriteEngine on
RewriteRule ^search/(.*)$ search.php?keyword=$1

you can access the seach keyword in search.php page like this
$text_to_search = $_GET[‘keyword’];


Simple php script for sending email from localhost (or even in your server) using codeigniter’s email class with gmail username and password.  You can give your gmail credentials in the configuration area.