Home > Backend Development > PHP Tutorial > php dirname 路径

php dirname 路径

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:35:08
Original
747 people have browsed it

大家可能知道dirname ( __FILE__ ) 是当前路径的意义 比如 我的一个项目中路径为 E:\PHP\clicksys\click\configs

如果获取上层路径为 dirname(dirname ( __FILE__ ))   E:\PHP\clicksys\click

很有意思

Related labels:
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