
In PHP, file_get_contents() function is commonly used to get content of a file or a url and it works like a charm in normal scenario. If in case, the URL or file... Read more »

In CodeIgniter project the index.php file will be included in your URLs by default. However, we would want to remove index.php from our URL to make it look clean as well as... Read more »

htaccess password protection can be very useful sometimes when we want only authorized users to access a certain webpage. This can be achieved easily by creating two files : .htaccess .htpassword You... Read more »

The following post shows a cool way to execute PHP code from files with HTML extension with the help of .htaccess file. We can write PHP code in a file with HTML... Read more »