PHP Show Source Code Instead of .html File
<p>I'm sorry if the title is a bit confusing, but this is my problem: <br/>
I need to echo the source of a .html file using PHP. I tried using PHP include(); while the file's extensions were .html.txt, but that showed up as if it is . When I access the file directly, for example "example.com/file.html.txt", it shows up as a normal .txt. <Br/>
This is the PHP code I'm using to display the file:</p>

<pre><code>&lt;div&gt;
&lt;?php
include "../head.php";
$path = $_GET["p"];
?&gt;
&lt;div style="position:absolute; top:90px; padding-left:5px; padding-right:10px;"&gt;

&lt;?php
echo "&lt;code&gt;";
include("files/".$path);
echo "&lt;/code&gt;";
?&gt;

&lt;/div&gt;
</code></pre>

<p>I hope I'm understandable! :) Thanks in advance for your help!</p>
