Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

chgrp

(PHP 3, PHP 4 , PHP 5)

chgrp -- Changes file group

Description

bool chgrp ( string filename, mixed group)

Attempts to change the group of the file filename to group (specified by name or number). Only the superuser may change the group of a file arbitrarily; other users may change the group of a file to any group of which that user is a member.

Returnerer TRUE ved succes, FALSE ved fejl.

Bemærk: Denne funktion vil ikke virke på fjernfiler da filen som skal undersøges skal være tilgængelig på servers filsystem.

Bemærk: Når safe mode er aktiveret, checker PHP om filerne eller bibliotekerne som du er ved at benytte, har det samme UID (owner) som scriptet der bliver eksekveret.

See also chown() and chmod().

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP Manualen". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.