How do I run PHP in HTML? - Stack Overflow If I have a file, file.php, in the same directory as index.html: file.php: