How to give php page as your code?

How can 111.html page (i.e. any) be rendered using php as if it were the code of the php page itself, i.e. not a redirect?

Answer 1, authority 100%

There is such a useful directive include. You can read here.


Answer 2, authority 75%

echo file_get_contents(‘path_to_file’);

Answer 3, authority 50%

Well, one more option:


This is how you can force downloads of files: