unlink

(PHP 4, PHP 5, PHP 7) Deletes a file bool unlink ( string $filename [, resource $context ] ) Deletes filename. Similar to the Unix C unlink() function. An E_WARNING level error will be generated on failure. Parameters: filename Path to the file. context Note: Context support was added with PHP 5.0.0. For a description of contexts,

umask

(PHP 4, PHP 5, PHP 7) Changes the current umask int umask ([ int $mask ] ) umask() sets PHP's umask to mask & 0777 and returns the old umask. When PHP is being used as a server module, the umask is restored when each request is finished. Parameters: mask The new umask. Returns: umask() without arguments simply returns the current umask otherw

touch

(PHP 4, PHP 5, PHP 7) Sets access and modification time of file bool touch ( string $filename [, int $time = time() [, int $atime ]] ) Attempts to set the access and modification times of the file named in the filename parameter to the value given in time. Note that the access time is always modified, regardless of the number of parameters. If the file does not exist, it will be created. Parameters:

tmpfile

(PHP 4, PHP 5, PHP 7) Creates a temporary file resource tmpfile ( void ) Creates a temporary file with a unique name in read-write (w+) mode and returns a file handle . The file is automatically removed when closed (for example, by calling fclose(), or when there are no remaining references to the file handle returned by tmpfile()), or when the script ends. For details, consult your system documentation on the tmpfile(3)

tempnam

(PHP 4, PHP 5, PHP 7) Create file with unique file name string tempnam ( string $dir, string $prefix ) Creates a file with a unique filename, with access permission set to 0600, in the specified directory. If the directory does not exist or is not writable, tempnam() may generate a file in the system's temporary directory, and return the full path to that file, including its name. Parameters:

symlink

(PHP 4, PHP 5, PHP 7) Creates a symbolic link bool symlink ( string $target, string $link ) symlink() creates a symbolic link to the existing target with the specified name link. Parameters: target Target of the link. link The link name. Returns: Returns TRUE on success or FALSE on failure.

stat

(PHP 4, PHP 5, PHP 7) Gives information about a file array stat ( string $filename ) Gathers the statistics of the file named by filename. If filename is a symbolic link, statistics are from the file itself, not the symlink. lstat() is identical to stat() except it would instead be based off the symlinks status. Parameters: filename Path to the file.

set_file_buffer

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

rmdir

(PHP 4, PHP 5, PHP 7) Removes directory bool rmdir ( string $dirname [, resource $context ] ) Attempts to remove the directory named by dirname. The directory must be empty, and the relevant permissions must permit this. A E_WARNING level error will be generated on failure. Parameters: dirname Path to the directory. context Note:

rewind

(PHP 4, PHP 5, PHP 7) Rewind the position of a file pointer bool rewind ( resource $handle ) Sets the file position indicator for handle to the beginning of the file stream. Note: If you have opened the file in append ("a" or "a+") mode, any data you write to the file will always be appended, regardless of the file position. Parameters: handle The file pointer must b