downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Firebird/InterBase> <filepro_rowcount
[edit] Last updated: Fri, 18 Sep 2009

view this page in

filepro

(PHP 4, PHP 5 <= 5.1.6)

fileproRead and verify the map file

Описание

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.

Забележка: Когато е включен в защитен режим, PHP проверява дали файловете или директориите, с които се работи, са със същия UID (собственик) като скрипта, който се изпълнява.

Параметри

directory

The map directory.

Връщани стойности

Връща TRUE при успех или FALSE при неуспех.



add a note add a note User Contributed Notes filepro
Brian Clark 14-Apr-2007 07:47
filepro() is apparently expecting the map file to be lowercase (at least on UNIX-like systems).
RobNar 12-Jun-2003 08:38
Two notes here:

1) PHP does not need a running copy of filepro to read the datafiles.  Just provide it with a directory containing the map file, key file, and the data* file(s) for the table you want to read. Screen files, outfiles, and process files are not used.

2) This function seems to pass back the system error code in brackets [] along with the PHP warning.  A list of error codes can be found in your filepro manual's appendix.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites