Does having multiple dots in a filename bad?

被刻印的时光 ゝ 提交于 2019-12-25 17:48:14

问题


Is there any organization or articles that says we can or should not have multiple dots in filename? I'm really confuse if I should use dot in PHP files, I might break some rules or standards.


回答1:


A filename with multiple dots does not break any PHP naming conventions, because file names are not PHP variable names; they belong to the OS really and PHP only sees them as strings.

EDIT

I looked around and found cases for multiple dots: version numbers and dates. There has been some discussion as to whether these increase or decrease SEO value but I have not found anything conclusive. It does show however that they are used.

Tip: Try the following Google search: seo periods in filenames



来源:https://stackoverflow.com/questions/7290989/does-having-multiple-dots-in-a-filename-bad

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!