當前絕對路徑為 E:\wamp\www\1.0.5\unipei_help\protected\config怎樣獲取到 E:\wamp\www目錄dirname(dirname(dirname(dirname(__FILE__))))太煩了,想換個寫法用dirname(__FILE__).'/../../../../' 代碼php不能識別php高手們幫個忙,謝謝因為當前php文件路徑為E:\wamp\www\1.0.5\unipei_help\protected\config我想要獲取這個文件的相對路徑
添加回答
舉報
0/150
提交
取消