Answer the question
In order to leave comments, you need to log in
How to properly generate html file via PHP?
There is no need to sculpt some kind of template engine. You just need to make a finished document from a bunch of small html files. This is for ease of editing (the file itself is very large).
So, what is the best way to do this?
I'm currently outputting via file_get_contents/echo. But maybe according to the Orthodox it is necessary through some ob_start?
Answer the question
In order to leave comments, you need to log in
If you need to stupidly copy the contents of a file to the output buffer, you can use the readfile function .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question