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 […]

How to Enable Magic Quotes using .htaccess file

Enable 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: If your PHP script […]