
n.目錄名字
The dirname() function returns the directory name from a path. 函數(shù)的作用是:返回路徑中的目錄名稱。
By default, if dirname does not include wildcards,RAR adds its contents even if -r switch is not specified. 缺省狀態(tài)下如果目錄名稱不包含通配符, 即使未指定 -r 開關(guān), RAR 也添加它的內(nèi)容。
Dim DirName As String 'SubDirectory Name 子目錄名
require dirname(__file__)./include/common.inc.php; 錯(cuò)誤提示為包含的文件不存在,
path1 = dirname($PATH_TRANSLATED)."/upload/"; 輸出上傳路徑;