diskfreespace

(PHP 4, PHP 5, PHP 7) Alias of disk_free_space() This function is an alias of: disk_free_space().

disk_total_space

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Returns the total size of a filesystem or disk partition float disk_total_space ( string $directory ) Given a string containing a directory, this function will return the total number of bytes on the corresponding filesystem or disk partition. Parameters: directory A directory of the filesystem or disk partition. Retur

disk_free_space

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Returns available space on filesystem or disk partition float disk_free_space ( string $directory ) Given a string containing a directory, this function will return the number of bytes available on the corresponding filesystem or disk partition. Parameters: directory A directory of the filesystem or disk partition. Note: Given a file

dirname

(PHP 4, PHP 5, PHP 7) Returns a parent directory's path string dirname ( string $path [, int $levels = 1 ] ) Given a string containing the path of a file or directory, this function will return the parent directory's path that is levels up from the current directory. Parameters: path A path. On Windows, both slash (/) and backslash (\) are used as directory separator c

delete

See unlink() or unset() This is a dummy manual entry to satisfy those people who are looking for unlink() or unset() in the wrong place. See also: unlink() - unset() -

copy

(PHP 4, PHP 5, PHP 7) Copies file bool copy ( string $source, string $dest [, resource $context ] ) Makes a copy of the file source to dest. If you wish to move a file, use the rename() function. Parameters: source Path to the source file. dest The destination path. If dest is a URL, the copy operation may fail if the wrapper does not

clearstatcache

(PHP 4, PHP 5, PHP 7) Clears file status cache void clearstatcache ([ bool $clear_realpath_cache = false [, string $filename ]] ) When you use stat(), lstat(), or any of the other functions listed in the affected functions list (below), PHP caches the information those functions return in order to provide faster performance. However, in certain cases, you may want to clear the cached information. For instance, if the same

chown

(PHP 4, PHP 5, PHP 7) Changes file owner bool chown ( string $filename, mixed $user ) Attempts to change the owner of the file filename to user user. Only the superuser may change the owner of a file. Parameters: filename Path to the file. user A user name or number. Returns: Returns TRUE on success or FALSE on

chmod

(PHP 4, PHP 5, PHP 7) Changes file mode bool chmod ( string $filename, int $mode ) Attempts to change the mode of the specified file to that given in mode. Parameters: filename Path to the file. mode Note that mode is not automatically assumed to be an octal value, so to ensure the expected operation, you need to prefix mode with a zero

chgrp

(PHP 4, PHP 5, PHP 7) Changes file group bool chgrp ( string $filename, mixed $group ) Attempts to change the group of the file filename to group. Only the superuser may change the group of a file arbitrarily; other users may change the group of a file to any group of which that user is a member. Parameters: filename Path to the file. group