Home > Backend Development > PHP Tutorial > .php和.phtml是否一样

.php和.phtml是否一样

WBOY
Release: 2016-06-06 20:41:30
Original
2125 people have browsed it

phtml是不是就是php文件

回复内容:

phtml是不是就是php文件

后缀这个东西在windows里面比较重要,因为windows里面用后缀决定文件类型及打开方式,在linux下面不怎么看重这个东西,你叫什么都行,一般起个统一的后缀,是为了统一的处理同一种后端脚本文件。

后缀名与文件内容没有直接关系,要看你的web服务器是怎么配置的了。只要你愿意,也可以把.cpp的文件配置成PHP的代码。

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template