filePro Functions
These functions allow read-only access to data stored in filePro databases.
filePro is a registered trademark by Fiserv, Inc. You can find more information about filePro at http://www.fileproplus.com/.
filePro Functions
filepro
Name
filepro — read and verify the map file
Description
bool filepro(string directory);
This reads and verifies the map file, storing the field count and info.
No locking is done, so you should avoid modifying your filePro database while it may be opened in PHP.
filepro_fieldname
Name
filepro_fieldname — gets the name of a field
Description
string filepro_fieldname(int field_number);
Returns the name of the field corresponding to field_number.
filepro_fieldtype
Name
filepro_fieldtype — gets the type of a field
Description
string filepro_fieldtype(int field_number);
Returns the edit type of the field corresponding to field_number.
filepro_fieldwidth
Name
filepro_fieldwidth — gets the width of a field
Description
int filepro_fieldwidth(int field_number);
Returns the width of the field corresponding to field_number.
filepro_retrieve
Name
filepro_retrieve — retrieves data from a filePro database
Description
string filepro_retrieve(int row_number, int field_number);
Returns the data from the specified location in the database.
filepro_fieldcount
Name
filepro_fieldcount — find out how many fields are in a filePro database
Description
int filepro_fieldcount(void);
Returns the number of fields (columns) in the opened filePro database. See also filepro.
filepro_rowcount
Name
filepro_rowcount — find out how many rows are in a filePro database
Description
int filepro_rowcount(void);
Returns the number of rows in the opened filePro database. See also filepro.