为什么使用扩展名.php3? [英] Why use extension .php3?
本文介绍了为什么使用扩展名.php3?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好frds ..........
有时,当我们保存扩展名为.php的文件时.如果我们以.php3扩展名运行,它将创建文本文件和相同的程序.
hello frds..........
Sometime when we save file with extension .php. it creat the text file and same program if we run with .php3 extension. it will work.
推荐答案
这并不重要. HTTP服务器具有配置参数,该参数显示根据引用资源的文件名使用哪个服务器端脚本模块.您可以将HTTP服务器配置为仅接受"* .php","*.php3"或仅接受这两者,以使用PHP处理资源,或者使用这两种类型,或者一个名称代表一个版本,另一个名称代表另一个版本,建议一定要避免.
无论如何,这太过时了. PHP v.3早已一去不复返了,在PHP 5.3之前,我不推荐任何东西.仅使用"* .php",不要酷刑©. :-)
—SA
It does not really matter. HTTP servers have configuration parameter showing what server-side scripting module to use depending on the file name of the referenced resource. You can configure the HTTP server to accept "*.php" only, "*.php3" only or both of them to process the resources using PHP, or both types, or one name for one version, another one for another, which I would recommend to avoid by all means.
Anyway, this is all way too obsolete. PHP v.3 is something long gone, and I would not recommend anything prior to PHP 5.3. Use "*.php" only and don''t torture© you brain. :-)
—SA
这篇关于为什么使用扩展名.php3?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文