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

search for in the

Firebird/InterBase> <Fonctions filePro
Last updated: Fri, 05 Sep 2008

view this page in

filepro

(PHP 4, PHP 5 <= 5.1.6)

fileproLit et vérifie un fichier

Description

bool filepro ( string $directory )

Lit et vérifie un fichier, puis enregistre le nombre de champs et de lignes.

Aucun verrouillage n'est pratiqué : il vaut alors mieux ne pas modifier la base filePro lorsqu'elle est ouverte par PHP.

Note: Lorsque le safe-mode est activé, PHP vérifie si le fichier/dossier que vous allez utiliser a le même UID que le script qui est actuellement exécuté.

Liste de paramètres

directory

Le dossier du fichier.

Valeurs de retour

Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.



add a note add a note User Contributed Notes
filepro
Brian Clark
15-Apr-2007 04:47
filepro() is apparently expecting the map file to be lowercase (at least on UNIX-like systems).
RobNar
12-Jun-2003 05: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> <Fonctions filePro
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites