01-11-2016, 04:38 AM
There are some reasons to do that, as mentioned here:
https://encodable.com/parse_html_files_as_php/
However, you should take a look at this "performance consideration": http://stackoverflow.com/questions/71818...tml-as-php
Remember, you can change the file extension on the view of users/browsers' address with Apache mod_rewrite
RewriteEngine on
RewriteRule ^(.*)\.html$ $1.php [nc]
So when you access a html-static-look-alike: http://example.com/forum.html, you can't realize you are accessing a PHP app: http://example.com/forum.php
https://encodable.com/parse_html_files_as_php/
However, you should take a look at this "performance consideration": http://stackoverflow.com/questions/71818...tml-as-php
Remember, you can change the file extension on the view of users/browsers' address with Apache mod_rewrite
RewriteEngine on
RewriteRule ^(.*)\.html$ $1.php [nc]
So when you access a html-static-look-alike: http://example.com/forum.html, you can't realize you are accessing a PHP app: http://example.com/forum.php
VIP Linux VPS 2$/month (25$/year 60$/2 years)
1 GB RAM 20 GB Storage 500 GB Bandwidth(50Mbit) 1 core 1 IPv4 1 IPv6
facebook.com/SnoOpyMinhThang
snoopy-xserver.com
1 GB RAM 20 GB Storage 500 GB Bandwidth(50Mbit) 1 core 1 IPv4 1 IPv6
facebook.com/SnoOpyMinhThang
snoopy-xserver.com