zoukankan
html css js c++ java
PHP中dirname(__FILE__)的意思
当前文件是放在(d:\www\)下,文件名是test.php。
测试的代码如下:
<?php
echo __FILE__ ; // 取得当前文件的绝对地址,结果:D:\www\test.php
echo dirname(__FILE__); // 取得当前文件所在的绝对目录,结果:D:\www\
echo dirname(dirname(__FILE__)); //取得当前文件的上一层目录名,结果:D:\
?>
http://xiangai.taobao.com
http://shop148612228.taobao.com
如果您觉得对您有帮助.领个红包吧.谢谢.
查看全文
相关阅读:
The Triangle_DP
LITTLE SHOP OF FLOWERS_DP
K Best(最大化平均数)_二分搜索
Number Game_状态压缩
Stockbroker Grapevine_Floyd
A very hard Aoshu problem
AOE 网络
AOV网
最小生成树
[POJ] 1562 Oil Deposits (DFS)
原文地址:https://www.cnblogs.com/suizhikuo/p/2774335.html
最新文章
还是畅通工程
The Suspects
Error Curves
吃糖果hdu2502
4 Values whose Sum is 0 poj2785
Artistic Style 2.05.1
The 23 Gang of Four Design Patterns (Cheat Sheet)(zz)
紙張尺寸表 (zz)
eclipse 包 取消代码第一行package包名 自动补全时取消自动引入包名 修改名字 取消引用 自动导入publilc static void main(String[] args) {}
电脑黑屏
热门文章
右键死机
python 向量化
一些良好的使用电脑习惯
latex 一些使用
Minieye杯第十五届华中科技大学程序设计邀请赛现场同步赛
tarjan模板
三色二叉树_树形DP
Candy Distribution_找规律
2016(胡赛复现)_大数找规律
Camelot_floyd&&DP
Copyright © 2011-2022 走看看