Home >> PHP >> fileperms() function in PHP

fileperms() function in PHP

The fileperms() function returns the permissions for file.

This function returns the permission as a number on success or FALSE on failure.

Syntax

fileperms(filename)

Example

echo fileperms("content.txt");

Post Your Comment

Next Questions
filesize() function
filetype() function
flock() function
fputs() function
fscanf() function
fstat() function
ftell() function
ftruncate() function
is_executable() function
is_file() function
is_link() function
is_readable() function
is_writable() function
link() function
linkinfo() function
pathinfo() function
readfile() function
readlink() function
realpath() function
rename() function
tmpfile() function
umask() function
How to swap two numbers without using a temprory variable
How to swap two numbers
How can find factorial using for loop

Copyright ©2022 coderraj.com. All Rights Reserved.