How to Reload iFrame – Works in FF, Crome, IE, Safari


I was working with one web application and I placed a iFrame in it. I am making ajax call and updating iFrame files. Now I want to refresh only iFrame. I found many solution via Google and I tried many with my own idea to replace iFrame or load iFrame etc etc. 

Block Proxy Server via .htaccess

 I wrote .htaccess code for blocking proxy server. If you want to block proxy server using .htaccess than just write below code in .htaccess file and you rocks.

How to remove index.php from url using .htaccess (mod_rewrite)

For better SEO optimization and make urls more search engine friendly , remove index.php from URL and make it easier to read.

MySQL password hashing

Whenever you upgrade your MySQL installation, make sure to upgrade any client that uses it.
In some cases, clients that use a version prior to 4.1 will have a problem authenticating against the MySQL database if the latter has a post 4.1 version.

Resetting your mysql root password



It is quite frequent that an administrator simply forgets his mysql's root password.
Luckily, it is quiet easy to reset it, here are the steps:

Setting up MYSQL Database Replication


Setting up a database replication is one of many steps that should be taken in order to preserve data, preventing any loss and making disaster recovery easier.Luckily, it’s easy with MySQL. So let’s suppose we have two servers running MySQL, one called host1 and the other host2.