[PHP] Utility function 8_php Tutorial

Source: Internet
Author: User
Tags dbase
Building a dBASE data table

int dbase_create (string filename,array fields)
Open dBASE Data Sheet

int Dbase_open (string filename,int flags)
Close a dBASE data table

Boolean dbase_close (int dbase_identifier)
Clean up dBASE Data sheets

BOOL Dbase_pack (int dbase_identifier)
Adding records to a dBASE data sheet

BOOL Dbase_add_record (int dbase_identifier,array record)
Delete records from a dBASE data table

BOOL Dbase_delete_record (int dbase_identifier,int record)
Get records of dBASE data sheets

Array Dbase_get_record (int dbase_identifier,int record)
Gets the number of fields in the dBASE data table

int dbase_numfields (int dbase_identifier)
Get Records of dBASE tables

int_dbase_numrecords (int dbase_identifier)
Open the directory and return a Dir_handle

int Opendir (string path)
Close the directory connection by the DIR_HANDLE flag

void Closedir (int dir_handle)
Change the current working directory

int chdir (string directory)
Get Current working directory

String getcwd (void)
Wrap the dir_handle around to the beginning

VOD rewinddir (int dir_handle)
Read directories one by one from the Dir_handle

String Readdir (int dir_handle)
Gets the free disk space of the file system where path is located, in bytes

Double Diskfreespace (String directory)
Change the owner of a file

BOOL Chown (string filename,mixed user)
Change the group properties of a file

BOOL Chgrp (String filename,mixed Group)
Change file properties

BOOL Chmdo (string Filename,int mode)
Setting the file modification time

BOOL Touch (string Filename,int [TIME])
Get file access (returned in eight-binary form)

int fileperms (string filename)
Get I-node (index node) information for a file

int Filenode (string filename)
Get File size

int filesize (string filename)
Get the UID value of the file

int Fileowner (string filename)
Get the GID value of the file

int filegroup (string filename)
Get file types, possible return types are FIFO, char, dir, block, link, file, unknown, etc.

String filetype (string filename)
Returns true if the file conforms to the attribute specified by XXX. xxx is dir, executable, file, link, readable, writeable, etc.

BOOL Is_xxx (string filename)

http://www.bkjia.com/PHPjc/318597.html www.bkjia.com true http://www.bkjia.com/PHPjc/318597.html techarticle // Build dBASE Data Sheet intdbase_create (stringfilename,arrayfields)//Open dBASE table Intdbase_open (stringfilename,intflags)/ /close dBASE table Booleandbase_close (intdbase_i ...

  • Related Article

    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.