Phtml concepts and view phtml format files _php Tutorials

Source: Internet
Author: User
Tags dreamweaver
Concept:
The PHTML (sometimes called PHP) Web page is a Web page and ASP that contains PHP (a language similar to JavaScript or Microsoft VBScript), and PHP scripts are embedded in the HTML code of the Web page. Before the page is sent to the requesting user, the Web server invokes the PHP interpreter to interpret and execute the PHP script. Web pages that contain PHP scripts are usually suffixed with ". php", ". PhP3", or ". phtml". Like ASP, PHP can be considered a "Dynamic Web page".

View phtml Format Files:
Let Dreamweaver support phtml (more file types supported)
The default extension for the Zendframework template is. phtml, which is opened with a DW by using plain text editing, not highlighting or displaying code hints, and so on. Simply modify the configuration file of the DW to allow the DW to open phtml with the PHP engine parsing:
Locate the following file:
%dreamweaver installation directory%
Configuration
DocumentTypes
Mmdocumenttypes.xml
The original content:
  
Modified to (that is, in the Bold section Plus. phtml):
  
Restart the DW after saving.
Similarly, the corresponding parsing engine can be found in the Mmdocumenttypes.xml file for manual modification.
  • Source: baike.baidu.com
  • http://www.bkjia.com/PHPjc/486123.html www.bkjia.com true http://www.bkjia.com/PHPjc/486123.html techarticle Concept: The PHTML (sometimes called PHP) Web page is a Web page and ASP that includes PHP (a language similar to JavaScript or Microsoft VBScript), and PHP scripts are embedded in the Web page ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.