action_chmod_file.php
上传用户:feiyaoda
上传日期:2016-11-21
资源大小:9556k
文件大小:1k
- <?php
- if (FALSE == is_array($buffer_selection_files)) die($get_string->get('no_file_chmod'));
- // default mode
- settype($_INI['default_fileperm'],'integer');
- echo "<!-- default : ".$_INI['default_fileperm']." -->n";
- $default_values = FormatePermissions_Array($_INI['default_fileperm']);
- echo "<p class="big_text">".$get_string->get('all_files')."</p>n";
- echo html_box_chmod($default_values,'all_files');
- echo "<hr>n";
- foreach ($buffer_selection_files as $id => $path)
- {
- $file_perms = FormatePermissions_Array(fileperms($path));
- echo "<!-- file perms : ".fileperms($path)." -->n";
- echo "<p class="big_text">".translate_path($path)."</p>n";
- echo html_box_chmod($file_perms,'file_'.md5($path));
- echo "<hr>n";
- }
- echo "Sorry not Finished...<br>n";
- echo "To do : functions to handle array - mode for ugo only...<br>n";