How to Disabling Magic Quotes using .htaccess file

Disabling Magic Quotes using .htaccess file   The magic quotes option was introduced to help protect developers from SQL injection attacks. It effectively executes addslashes() on all information received over GET, POST or COOKIE. Providing your server is configured to allow .htaccess files, adding the following line will effectively turn off Magic Quotes: 1. Login into […]

Block Entire Country using .htaccess file

To block a traffic from  entire country using .htaccess file, Go to following URL and select the country which you want to block and click on generate .htaccess code button. http://incredibill.me/htaccess-block-country-ips After that, copy/paste results to your .htaccess file . Thats it.    

How enable HTML files to display php code

When writing content for your site, you typically store them in either html or php files. The basic files, particularly on Linux servers like the ones used for our hosting accounts, are either generally either html (files ending in the extension .html or .htm) or php (files ending in the extension .php) files. HTML files […]