Concept:
A PHTML (sometimes called PHP) web page is a web page that contains PHP (a language similar to JavaScript or Microsoft VBScript) scripts. Like ASP, PHP scripts are embedded in the HTML code of the web page. among. The web server calls the PHP interpreter to interpret and execute the PHP script before the page is sent to the requesting user. Web pages containing PHP scripts usually have ".php", ".php3" or ".phtml" as the suffix. Like ASP, PHP can be considered a "dynamic web page".
View phtml format files:
Let Dreamweaver support phtml (support more file types)
The default extension of ZendFramework template is .phtml, and the default extension is .phtml after opening it with DW When using plain text editing, you cannot highlight or display code tips, etc. Simply modify the configuration file of DW to let DW open phtml and use the PHP engine to parse it:
Find the following files:
%Dreamweaver installation directory%
configuration
documenttypes
mmdocumenttypes. xml
Change original content:
Modify to (add .phtml to the bold part):
Save Then restart DW.
In similar situations, you can also find the corresponding parsing engine in the mmdocumenttypes.xml file for manual modification.