php – HTML vs SHTML vs PHTML

php – HTML vs SHTML vs PHTML

It looks like SHTML = Server Side include HTML (SSI), which is just a fancy way of saying the server can dynamically inject code at the reference point (i.e. where the include is).


PHTML is HTML code with inline PHP processing instructions.

Use static HTML when you want to have static content. Use SHTML if you want to do simple things such as includes. Use PHTML if you want to use logic (though its possible to do with SHTML if you really want to).

php – HTML vs SHTML vs PHTML

.phtml is usual extension to Phalcom PHP Framework files 🙂

Leave a Reply

Your email address will not be published.