SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to make sure the HTML file doesn't contain any PHP code and will not be executed as PHP, do not use include or require. Simply do:
include
require
echo file_get_contents("/path/to/file.html");