Comunitatea PHP Romania
 

 
chown

chown

(PHP 3, PHP 4 , PHP 5)

chown -- Changes file owner

Description

bool chown ( string filename, mixed user)

Attempts to change the owner of the file filename to user user (specified by name or number). Only the superuser may change the owner of a file.

Returnează TRUE în caz de succes, FALSE în caz contrar.

Notã: This function will not work on remote files as the file to be examined must be accessible via the servers filesystem.

Notã: Cand modul sigur este activat, PHP verifică dacă fișierul(fișierele)/directoarele asupra cărora operezi au același UID ca scriptul ce trebuie executat.

See also chmod().

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
acasa , in pat
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
Mascka Mascka
Braila
raul_ raul_
whooper whooper
Toronto ON
mihaitha mihaitha
Sibiu
gabysolomon gabysolomon
Bacau
oriceon oriceon
Constanta
garlicinicolae garlicinicolae

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Credit Cards | Mortgage | Personal Loans | Remortgages | Bad Credit Loan
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis