I can execute PHP code fine if I name the file *.php and load it in Chromium through the localhost address.
If I try to insert PHP inside a file named *.html, the PHP no longer executes.
Code:
http://pastebin.com/LgCzMs02
Output:
http://imgur.com/0CO5S
program that have includes with php file should have the extension of *.php
unless you will redirect your index.html to a *.php page during loading.