PHP Manual
Prev |  | Next

# XVI. Filesystem functions

Table of Contents
basename — Return filename component of path
chgrp — Change file group
chmod — Change file mode
chown — change file owner
clearstatcache — Clear file stat cache
copy — Copy file
delete — A dummy manual entry
dirname — Return directory name component of path
diskfreespace — Return available space in directory
fclose — Close an open file pointer
feof — Test for end-of-file on a file pointer
fgetc — Get character from file pointer
fgetcsv — Get line from file pointer and parse for CSV fields
fgets — Get line from file pointer
fgetss — Get line from file pointer and strip HTML tags
file — read entire file into an array
file_exists — Check whether a file exists
fileatime — Get last access time of file
filectime — Get inode change time of file
filegroup — Get file group
fileinode — Get file inode
filemtime — Get file modification time
fileowner — Get file owner
fileperms — Get file permissions
filesize — Get file size
filetype — Get file type
flock — Portable advisory file locking
fopen — Open file or URL
fpassthru — Output all remaining data on a file pointer
fputs — Write to a file pointer
fread — Binary-safe file read
fseek — Seek on a file pointer
ftell — Tell file pointer read/write position
fwrite — Binary-safe file write
set_file_buffer — Sets file buffering on the given file pointer
is_dir — Tells whether the filename is a directory
is_executable — Tells whether the filename is executable
is_file — Tells whether the filename is a regular file
is_link — Tells whether the filename is a symbolic link
is_readable — Tells whether the filename is readable
is_writeable — Tells whether the filename is writeable
link — Create a hard link
linkinfo — Get information about a link
mkdir — Make directory
pclose — Close process file pointer
popen — Open process file pointer
readfile — Output a file
readlink — Return the target of a symbolic link
rename — Rename a file
rewind — Rewind the position of a file pointer
rmdir — Remove directory
stat — Give information about a file
lstat — Give information about a file or symbolic link
symlink — Create a symbolic link
tempnam — create unique file name
touch — Set modification time of file
umask — Changes the current umask
unlink — Delete a file

Prev | Home | Next
filepro_rowcount | Up | basename