My goal: include text from one HTML/TXT file in another HTML file.
My hosting service does not allow me to use the convenient
<!--#include file="..." --> in my HTML, it only allows #exec commands.
My service does not support CGI scripts (and I'm too cheap to pay for it). It does support PHP.
Now, I know how to have a PHP file include text in itself, as a web page on it's own. Is there a way to use PHP within my HTML page to include a file into itself?
My hosting service does not allow me to use the convenient
<!--#include file="..." --> in my HTML, it only allows #exec commands.
My service does not support CGI scripts (and I'm too cheap to pay for it). It does support PHP.
Now, I know how to have a PHP file include text in itself, as a web page on it's own. Is there a way to use PHP within my HTML page to include a file into itself?