PHP Doku:: Liest und überprüft die Map-Datei - function.filepro.html

Verlauf / Chronik / History: (3) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenfileProfilePro Funktionenfilepro

Ein Service von Reinhard Neidl - Webprogrammierung.

filePro Funktionen

<<filepro_rowcount

Firebird/InterBase>>

filepro

(PHP 4, PHP 5 <= 5.1.6)

fileproLiest und überprüft die Map-Datei

Beschreibung

bool filepro ( string $directory )

Die Funktion liest und überprüft die Map-Datei, die die Feldnummern und dazugehörigen Informationen enthält.

Es wird kein Locking durchgeführt, daher sollten Sie davon absehen, an einer mit PHP geöffneten filePro-Datenbank Veränderungen vorzunehmen.

Hinweis: Wenn Safe Mode aktiviert ist, überprüft PHP, ob die Dateien/Verzeichnisse, die mit dem Skript bearbeitet werden sollen, die gleiche UID (Eigentümer) haben wie das Skript selbst.

Parameter-Liste

directory

Das Map-Verzeichnis.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.


2 BenutzerBeiträge:
- Beiträge aktualisieren...
Brian Clark
15.04.2007 4:47
filepro() is apparently expecting the map file to be lowercase (at least on UNIX-like systems).
RobNar
12.06.2003 17: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.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)