File System Function Library

Read about file system function library, The latest news, videos, and discussion topics about file system function library from alibabacloud.com

File system function Library: Unlink

Unlink (PHP3, PHP4) unlink---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Delete file Syntax: int unlink (string filename) Description: Delete file filename, similar to UNIX C unlink (). Error returns 0 or FALSE. Pay attention to ...

File system function Library: Pclose

Pclose (PHP3, PHP4) pclose---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Turn off file indicator syntax: int pclose (int fp) Description: Closes the file metrics that are opened by Popen (). File metrics must be valid and must be a file metric that is successfully opened by calling Popen (). ...

File system function library: Rewind

Rewind (PHP3, PHP4) Rewind---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Reset file indicator syntax: int rewind (int fp) Description: Set file indicator FP to the beginning of the file. Returns 0 if an error occurs. File metrics must be valid, and are successfully opened with fopen () ...

File system function Library: Set_file_buffer

Set_file_buffer (PHP3 >= 3.0.8, PHP4 >= 4.0.1) set_file_buffer---&http://www.aliyun.com/zixun/aggregation/ 37954.html ">nbsp; Set file buffer size syntax: int set_file_buffer (int fp, int buffe ...

File system function Library: Filemtime

Filemtime (PHP3, PHP4) filemtime---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get file Last modified time syntax: int filemtime (string filename) Description: Returns the last time the file was modified, error returns false, return time is UNIX ...

File system function Library: Fgetcsv

Fgetcsv (PHP3 >= 3.0.8, PHP4) fgetcsv---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get rows from file metrics and parse CSV field syntax: array fgetcsv (int fp, int length [, string delimiter]) description ...

File system function Library: fread

Fread (PHP3, PHP4) fread---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Read file syntax in bytes: string fread (int fp, int length) Description: fread () reads length single-digit from file indicator FP, when length single tuple has been read or ...

File system function Library: Chown

Chown (PHP3, PHP4) chown---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Change the owner syntax of the file: int chown (string filename, mixed user) Description: Try to change file filename owner is user user. Only the manager (Supe).

File system function Library: Umask

Umask (PHP3, PHP4) umask---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Change the current umask syntax: int umask (int mask) Description: Umask () set PHP umask to Mask & 0777, and pass back the old umask. When PHP is using the ...

File system function Library: mkdir

mkdir (PHP3, PHP4) mkdir---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Create directory syntax: int mkdir (string pathname, int mode) Description: Try to build the directory specified by pathname. Note: If you want to assign permissions (octal), you must ...

File system function Library: Fileinode

Fileinode (PHP3, PHP4) fileinode---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get file inode syntax: int fileinode (string filename) Description: Returns the Inode value of the file, and returns False if an error occurs. The result of this function will be a cache ...

File system function Library: fgetc

Fgetc (PHP3, PHP4) fgetc---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Gets the character syntax that the file metric refers to: string fgetc (int fp) Description: Returns a String containing a single character from the file indicator FP, returning false at the end of the file. File metrics must be valid and ...

File system function Library: rename

Rehttp://www.aliyun.com/zixun/aggregation/11696.html ">name (PHP3, PHP4) Rename---File rename syntax: int rename (string Oldname, String newname) Description: Try renaming the old name Oldname to NewName. Success returns True, loses ...

File system function Library: chmod

chmod (PHP3, PHP4) chmod---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Changing the file's property syntax: int chmod (string filename, int mode) Description: Try to change the specified file FileName property to become a mod. Note: This mode does not ...

File system function Library: Is_link

Is_link (PHP3, PHP4) is_link---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Identifies whether the file name is a symbolic link syntax: bool Is_link (string filename) Description: If filename exists and is a symbolic link (symbolic link), pass ...

File system function Library: Lstat

Lstat (PHP3 >= 3.0.4, PHP4) lstat---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Information syntax for obtaining files: Array lstat (string filename) Description: Aggregated file statistics or symbolic link name filename, this function and stat () ...

File system function Library: Filegroup

Filegroup (PHP3, PHP4) filegroup---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get file-owning group syntax: INT filegroup (string filename) Description: Returns the group ID of the owner of the file, returns False when an error occurs, returns the group ID in the number format ...

File system function Library: feof

Feof (PHP3, PHP4) feof---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Test whether the metric is syntactically at the end of a file: int feof (int fp) Description: Returns False if the file indicator returns True at the end of the file (EOF) or if an error occurs. Document indicators must be valid, and are ...

File system function Library: Touch

Touch (PHP3, PHP4) Touch---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Set file modification time syntax: int touch (string filename [, int time]) Description: Try to set the file filename modification time, if the option is not given, so ...

File system function Library: Readlink

Readlink (PHP3, PHP4) readlink---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Returns the destination syntax for symbolic Links: string Readlink (String path) Description: Readlink () is not like the readlink of C, this function returns the contents of the Symbolic link path ...

Total Pages: 4 1 2 3 4 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.