Hide the fact that the web pages are written in PHP

Sometimes you may want to hide the fact of your web site’s written language to visitors then you can do it easily by using .htaccess Say, you have developed your site by using PHP and wanted to show it as ASP then you can do it by using following tricks:

Just add following line in the .htaccess file and place it to application root directory.

AddType application/x-httpd-php .asp

Now everyone have to use all files of the application by using .asp though the application was written in PHP.

3 Comments

Leave a Comment