I searched already all the day for a solution to execute PHP files in a HTML file.
I use a CMS based on PHP. This CMS uses a Design template System where the Design has to be in a index.htm File. When renaming this file to index.php - it don't run (tested).
I am designing a new Clanpage and want to insert a "serverviewer".
This one is in a PHP file and does this:
I used this to call the php file:
<div style="width: 280px; height 90px; float: left;margin-right: 10px; margin-bottom: 15px;" >
<?php include("http://www.this-is-war.com/tiw/include/designs/TiWlog/sv/sv_01.php"); ?>
</div>
but unfortunately php-code in a HTML file is not parsed, and I get no Serverviewer.
What can I do to execute a PHP statement in a HTML file without renaming the file to a .php
extension?