PHP Manual
Prev |  | Next

# XVII. 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