Your problem is, that html is not affected by the php parser. You can include html files into php files, but php files included in html files will never work. The file extension ".php" will tell apache to start the php parser. HTML will not do that.
As long as he don't configures apache with something like ""AddHandler application/x-httpd-php .html" in his virtualhost settings, it will not work. And you are absolutely right because of security concerns.
7
u/No_Astronomer9508 9d ago
Your problem is, that html is not affected by the php parser. You can include html files into php files, but php files included in html files will never work. The file extension ".php" will tell apache to start the php parser. HTML will not do that.