PHP function fileperms()

Availability in PHP 4.0

Gets file permissions

Parameters

Parameter Data type Default value Note
$filename string not Path to the file.

Return values

int

|bool the permissions on the file, or false on failure.

Additional resources

Official fileperms documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.