<?php

//所有者可讀寫,其他人沒有任何權限
chmod("test.txt",0600);

// 所有者可讀寫,其他人可讀
chmod("test.txt",0644);

// 所有者有所有權限,其他所有人可讀和執行
chmod("test.txt",0755);

// 所有者有所有權限,所有者所在的組可讀
chmod("test.txt",0740);
?>

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 stockwfj3 的頭像
    stockwfj3

    程式設計@筆記

    stockwfj3 發表在 痞客邦 留言(0) 人氣()