PHP chgrp() 函数

PHP 教程 · 2019-01-24 17:12:54

定义和用法

chgrp() 函数改变指定文件的用户组。

如果成功则返回 TRUE,如果失败则返回 FALSE。

语法


chgrp(file,group)


参数 描述
file 必需。规定要检查的文件。
group 可选。规定新的组。可以是组名或组的 ID。

实例


<?php
chgrp("test.txt","admin")
?> 


点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

Head Rush Ajax

Head Rush Ajax

Brett McLaughlin、Eric Freeman、Elisabeth Freeman / O'Reilly Media, Inc. / 2006-03-01 / USD 34.99

Ajax, or Asynchronous JavaScript and XML, is a term describing the latest rage in web development. Ajax is used to create interactive web applications with XML-based web services, and using JavaScript......一起来看看 《Head Rush Ajax》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

MD5 加密
MD5 加密

MD5 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具