檔案系統函式庫 chgrp (PHP3 , PHP4) chgrp --- 變更檔案所屬的群組 語法 : int chgrp (string filename, mixed group) 說明 : 試著將檔案filename的群組變更成group,只有管理者(superuser) 才能任意地改變檔案的群組,其它的使用者只能改變本身的檔案。 成功則傳回true,否則傳回false。 注意 : 此函式不能運作在Windows系統。 參考 : chown( ) chmod( ) 上一頁 首頁 下一頁
檔案系統函式庫
chgrp
(PHP3 , PHP4)
chgrp --- 變更檔案所屬的群組
語法 : int chgrp (string filename, mixed group)
int chgrp (string filename, mixed group)
int chgrp
說明 :
試著將檔案filename的群組變更成group,只有管理者(superuser) 才能任意地改變檔案的群組,其它的使用者只能改變本身的檔案。 成功則傳回true,否則傳回false。 注意 : 此函式不能運作在Windows系統。
試著將檔案filename的群組變更成group,只有管理者(superuser) 才能任意地改變檔案的群組,其它的使用者只能改變本身的檔案。
成功則傳回true,否則傳回false。
注意 : 此函式不能運作在Windows系統。
參考 : chown( ) chmod( )