PHP 5.4.33 Released

filepro

(PHP 4, PHP 5 <= 5.1.6)

fileproخواندن و تطبیق فایل نقشه

Description

bool filepro ( string $directory )

خواندن و تایید فایل نقشه ذخیره‌سازی اطلاعات و تعداد فیلد.

بدون قفل باید از تغییر پایگاه داده filePro هنگام باز کردن آن در PHP خودداری نمایید.

Note: When safe mode is enabled, PHP checks whether the files or directories being operated upon have the same UID (owner) as the script that is being executed.

Parameters

directory

دایرکتوری نقشه.

Return Values

Returns TRUE on success or FALSE on failure.

add a note add a note

User Contributed Notes 2 notes

up
0
Brian Clark
7 years ago
filepro() is apparently expecting the map file to be lowercase (at least on UNIX-like systems).
up
0
RobNar
11 years ago
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.
To Top