htmlphpshtml

HTML vs SHTML vs PHTML


What is the difference between:

HTML
SHTML
PHTML

Why and when i'll use which one?


Solution

  • 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.