PHP fileperms() 函式
❮ PHP 檔案系統參考定義和用法
fileperms() 函式返回檔案的許可權。
注意: 此函式的結果會被快取。使用 clearstatcache() 來清除快取。
語法
fileperms(檔名)
引數值
引數 | 描述 |
---|---|
filename | 必需。指定要檢查的檔案的路徑 |
技術詳情
返回值 | 檔案的許可權(數字),失敗返回 FALSE |
---|---|
PHP 版本 | 4.0+ |
更多示例
❮ PHP 檔案系統參考
fileperms() 函式返回檔案的許可權。
注意: 此函式的結果會被快取。使用 clearstatcache() 來清除快取。
fileperms(檔名)
引數 | 描述 |
---|---|
filename | 必需。指定要檢查的檔案的路徑 |
返回值 | 檔案的許可權(數字),失敗返回 FALSE |
---|---|
PHP 版本 | 4.0+ |
如果您想將 W3Schools 服務用於教育機構、團隊或企業,請傳送電子郵件給我們
sales@w3schools.com
如果您想報告錯誤,或想提出建議,請傳送電子郵件給我們
help@w3schools.com