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: Fstat

Fstat (PHP4 >= 4.0rc1) fstat---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get the information syntax of the file: array fstat (int fp) Description: Aggregation file index FP file statistics, this function and stat () similar to the difference is that it is operating in the Open file index to replace the filename ...

File system function Library: FileSize

FileSize (PHP3, PHP4) filesize---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get file size syntax: int filesize (string filename) Description: Returns the size of the file, and returns False if an error occurs. The result of this function will exist in the cache buffer, details ...

File system function Library: Clearstatcache

Clearstatcache (PHP3, PHP4) clearstatcache---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Clears the file state cache syntax: void Clearstatcache (void); Description: Using stat () and Lstat () is quite a resource consuming, so it will be any State ...

File system function Library: Is_dir

Is_dir (PHP3, PHP4) is_dir---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Identifies whether the file name is a directory syntax: BOOL Is_dir (string filename) Description: Returns true if filename exists and is a directory. The result of this function is placed in the cache buffer ...

File system function Library: FGETSS

FGETSS (PHP3, PHP4) fgetss---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get the line that the file indicator refers to and remove HTML tag syntax: string fgetss (int fp, int length [, string allowable_tags]) Description: With FGE ...

File system function Library: Symlink

Symlink (PHP3, PHP4) symlink---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Establish symbolic link Syntax: int symlink (string target, String link) Description: symlink () from the current target targets with the specified name link, establish ...

File system function Library: Fileowner

Fileowner (PHP3, PHP4) fileowner---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get owner syntax for file: int fileowner (string filename) Description: Returns the user ID of the owner of the file, returns False when an error occurs, and returns the user of the number format ...

File system function Library: fileperms

Fileperms (PHP3, PHP4) fileperms---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Permission syntax for obtaining a file: int fileperms (string filename) Description: Returns the file's permissions, and returns False if an error occurs. The result of this function will exist in the cache buffer, detailed ...

File system function Library: fscanf

FSCANF (PHP4 >= 4.0.1) fscanf---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Parse file syntax by format: mixed fscanf (int handle, string format [, String var1 ...]) Description: This function fscanf (...

File system function Library: fgets

Fgets (PHP3, PHP4) fgets---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Gets the line syntax that the file metric refers to: string fgets (int fp, int length) Description: Returns a string length-1 a bit (bytes) long at the file indicator, when length-...

File system function Library: is_readable

Is_readable (PHP3, PHP4) is_readable---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Identifies whether the file name is readable file syntax: bool is_readable (string filename) Description: If filename exists and is a readable file returns t ...

File system function Library: Realpath

Realpath (PHP4 >= 4.0b4) realpath---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Returns the absolute path name syntax: String realpath (String path) Description: Realpath () expands all symbolic links and analyzes the association to become '/./', '/...

File system function Library: fwrite

Fwrite (PHP3, PHP4) fwrite---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Write data to file syntax: int fwrite (int fp, string string [, int length]) Description: fwrite () writes string contents to file, if ...

File system function Library: fputs

Fputs (PHP3, PHP4) fputs---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Write the data to the file index syntax: int fputs (int fp, string str [, int length]) Description: Fputs () is the alias of Fwrite (), and the usage is the same ...

File system function Library: LinkInfo

LinkInfo (PHP3, PHP4) linkinfo---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Get link information syntax: int linkinfo (string path) Description: LinkInfo () returns the St_dev field of the UNIX C stat businessesflat-out, this function ...

File system function Library: Fpassthru

Fpassthru (PHP3, PHP4) fpassthru---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Output all remaining data syntax: int fpassthru (int fp) Description: Reads the file metrics to the end of the file and outputs the results to the standard output (standard outputs). ...

File system function Library: CHGRP

Chgrp (PHP3, PHP4) chgrp---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; The group syntax for which the change file belongs: int chgrp (string filename, mixed Group) Description: Try changing the file filename's group to group, only the manager (Super ...).

File system function Library: Is_file

Is_file (PHP3, PHP4) is_file---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Identify whether the file name is a regular file syntax: bool Is_file (string filename) Description: If filename exists and is a regular (regular) file, return Tru ...

File system function Library: file_exists

File_exists (PHP3, PHP4) file_exists---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Check for file syntax: int file_exists (string filename) Description: Returns True if the specified file filename exists, or returns FAL ...

File system function Library: dirname

Dirhttp://www.aliyun.com/zixun/aggregation/11696.html ">name (PHP3, PHP4) dirname the directory name syntax for the path returned---: String dirname ( String path Description: gives a filename containing the path, which returns the name of the directory. The path in Windows can be a slash (/) or inverse ...

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.