basename | PHP 3.0 |
string basename(string path[, string suffix]) |
|
Returns the filename component of the path. |
chgrp | PHP 3.0 |
bool chgrp(string filename, mixed group) |
|
Changes file group. |
chmod | PHP 3.0 |
bool chmod(string filename, int mode) |
|
Changes file mode. |
chown | PHP 3.0 |
bool chown (string filename, mixed user) |
|
Changes file owner. |
clearstatcache | PHP 3.0 |
void clearstatcache(void) |
|
Clears file stat cache. |
copy | PHP 3.0 |
bool copy(string source_file, string destination_file) |
|
Copies a file. |
dirname | PHP 3.0 |
string dirname(string path) |
|
Returns the directory name component of the path. |
disk_free_space | PHP 4.1.0 |
float disk_free_space(string path) |
|
Gets free disk space for filesystem that path is on. |
disk_total_space | PHP 4.1.0 |
float disk_total_space(string path) |
|
Gets total disk space for filesystem that path is on. |
fclose | PHP 3.0 |
bool fclose(resource fp) |
|
Closes an open file pointer. |
feof | PHP 3.0 |
bool feof(resource fp) |
|
Tests for end-of-file on a file pointer. |
fflush | PHP 4.0.1 |
bool fflush(resource fp) |
|
Flushes output. |
fgetc | PHP 3.0 |
string fgetc(resource fp) |
|
Gets a character from file pointer. |
fgetcsv | PHP 3.0.8 |
array fgetcsv(resource fp, int length[, string delimiter[, string enclosure]]) |
|
Gets a line from file pointer and parses for CSV fields. |
fgets | PHP 3.0 |
string fgets(resource fp[, int length]) |
|
Gets a line from file pointer. |
fgetss | PHP 3.0 |
string fgetss(resource fp, int length[, string allowable_tags]) |
|
Gets a line from file pointer and strips HTML tags. |
file_exists | PHP 3.0 |
bool file_exists(string filename) |
|
Returns true if filename exists. |
file_get_contents | PHP 4.3.0 |
string file_get_contents(string filename[, bool use_include_path]) |
|
Reads the entire file into a string. |
file | PHP 3.0 |
array file(string filename[, bool use_include_path]) |
|
Reads entire file into an array. |
fileatime | PHP 3.0 |
int fileatime(string filename) |
|
Gets last access time of file. |
filectime | PHP 3.0 |
int filectime(string filename) |
|
Gets inode modification time of file. |
filegroup | PHP 3.0 |
int filegroup(string filename) |
|
Gets file group. |
fileinode | PHP 3.0 |
int fileinode(string filename) |
|
Gets file inode. |
filemtime | PHP 3.0 |
int filemtime(string filename) |
|
Gets last modification time of file. |
fileowner | PHP 3.0 |
int fileowner(string filename) |
|
Gets file owner. |
fileperms | PHP 3.0 |
int fileperms(string filename) |
|
Gets file permissions. |
filesize | PHP 3.0 |
int filesize(string filename) |
|
Gets file size. |
filetype | PHP 3.0 |
string filetype(string filename) |
|
Gets file type. |
flock | PHP 3.0.7 |
bool flock(resource fp, int operation[, int &wouldblock]) |
|
Provides portable file locking. |
fnmatch | PHP 4.3.0 |
bool fnmatch(string pattern, string filename[, int flags]) |
|
Matches filename against pattern. |
fopen | PHP 3.0 |
resource fopen(string filename, string mode[, bool use_include_path[, resource context]]) |
|
Opens a file or a URL and returns a file pointer. |
fpassthru | PHP 3.0 |
int fpassthru(resource fp) |
|
Outputs all remaining data from a file pointer. |
fread | PHP 3.0 |
string fread(resource fp, int length) |
|
Provides a binary-safe file read. |
fscanf | PHP 4.0.1 |
mixed fscanf(string str, string format[, string ...]) |
|
Implements a mostly ANSI-compatible fscanf( ). |
fseek | PHP 3.0 |
int fseek(resource fp, int offset[, int whence]) |
|
Seeks on a file pointer. |
fstat | PHP 4.0 |
int fstat(resource fp) |
|
Performs stat( ) on a filehandle. |
ftell | PHP 3.0 |
int ftell(resource fp) |
|
Gets file pointer's read/write position. |
ftruncate | PHP 4.0 |
int ftruncate(resource fp, int size) |
|
Truncates file to Truncates file to size length. |
fwrite | PHP 3.0 |
int fwrite(resource fp, string str[, int length]) |
|
Provides a binary-safe file write. |
glob | PHP 4.3.0 |
array glob(string pattern[, int flags]) |
|
Finds pathnames matching a pattern. |
is_dir | PHP 3.0 |
bool is_dir(string filename) |
|
Returns true if file is directory. |
is_executable | PHP 3.0 |
bool is_executable(string filename) |
|
Returns true if file is executable. |
is_file | PHP 3.0 |
bool is_file(string filename) |
|
Returns true if file is a regular file. |
is_link | PHP 3.0 |
bool is_link(string filename) |
|
Returns true if file is symbolic link. |
is_readable | PHP 3.0 |
bool is_readable(string filename) |
|
Returns true if file can be read. |
is_uploaded_file | PHP 3.0.1.7 |
bool is_uploaded_file(string path) |
|
Checks if file was created by RFC 1867 upload. |
is_writable | PHP 4.0 |
bool is_writable(string filename) |
|
Returns true if file can be written. |
link | PHP 3.0 |
int link(string target, string link) |
|
Creates a hard link. |
linkinfo | PHP 3.0 |
int linkinfo(string filename) |
|
Returns the st_dev field of the Unix C stat structure describing the link. |
lstat | PHP 3.0.4 |
array lstat(string filename) |
|
Gives information about a file or symbolic link. |
mkdir | PHP 3.0 |
bool mkdir(string pathname[, int mode]) |
|
Creates a directory. |
move_uploaded_file | PHP 4.0.3 |
bool move_uploaded_file(string path, string new_path) |
|
Moves a file if and only if it was created by an upload. |
parse_ini_file | PHP 4.0 |
array parse_ini_file(string filename[, bool process_sections]) |
|
Parses configuration file. |
pathinfo | PHP 4.0.3 |
array pathinfo(string path) |
|
Returns information about a certain string. |
pclose | PHP 3.0 |
int pclose(resource fp) |
|
Closes a file pointer opened by popen( ). |
popen | PHP 3.0 |
resource popen(string command, string mode) |
|
Executes a command and opens either a read or a write pipe to it. |
readfile | PHP 3.0 |
int readfile(string filename[, int use_include_path]) |
|
Outputs a file or a URL. |
readlink | PHP 3.0 |
string readlink(string filename) |
|
Returns the target of a symbolic link. |
realpath | PHP 4.0 |
string realpath(string path) |
|
Returns the resolved path. |
rename | PHP 3.0 |
bool rename(string old_name, string new_name) |
|
Renames a file. |
rewind | PHP 3.0 |
bool rewind(resource fp) |
|
Rewinds the position of a file pointer. |
rmdir | PHP 3.0 |
bool rmdir(string dirname) |
|
Removes a directory. |
set_file_buffer | PHP 3.0.8 |
int set_file_buffer(resource fp, int buffer) |
|
Sets file write buffer. |
stat | PHP 3.0 |
array stat(string filename) |
|
Gives information about a file. |
symlink | PHP 3.0 |
int symlink(string target, string link) |
|
Creates a symbolic link. |
tempnam | PHP 3.0 |
string tempnam(string dir, string prefix) |
|
Creates a unique filename in a directory. |
tmpfile | PHP 3.0.13 |
resource tmpfile(void) |
|
Creates a temporary file that will be deleted automatically after use. |
touch | PHP 3.0 |
bool touch(string filename[, int time[, int atime]]) |
|
Sets modification time of file. |
umask | PHP 3.0 |
int umask([int mask]) |
|
Returns or changes the umask. |
unlink | PHP 3.0 |
bool unlink(string filename) |
|
Deletes a file. |