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
Last updated: Fri, 13 Nov 2009

view this page in

filepro

(PHP 4, PHP 5 <= 5.1.6)

filepromap ファイルの読み込みと照合を行う

説明

bool filepro ( string $directory )

この関数は、map ファイルを読み込み、照合を行います。 続いて、フィールドの数および情報を保存します。

データベースのロックを行わないため、PHP でオープンしている間は、 filePro データベースの修正を避ける必要があります。

注意: セーフモード が有効の場合、PHP は操作を行うファイル/ディレクトリが実行するスクリプトと 同じ UID (所有者)を有しているかどうかを確認します。

パラメータ

directory

map ディレクトリ。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
filepro
Brian Clark
15-Apr-2007 02:47
filepro() is apparently expecting the map file to be lowercase (at least on UNIX-like systems).
RobNar
12-Jun-2003 03: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.

Firebird/InterBase> <filepro_rowcount
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites