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

search for in the

Firebird/InterBase> <filepro_rowcount
[edit] Last updated: Fri, 17 May 2013

view this page in

filepro

(PHP 4, PHP 5 <= 5.1.6)

fileproLegge e verifica la mappa del file

Descrizione

bool filepro ( string $directory )

Questa funzione legge e verifica la mappa del file, immagazzinando l'indice del campo e le informazioni.

Non viene eseguito nessun locking, si dovrebbe evitare di modificare il database filePro mentre quest'ultimo potrebbe venire aperto in PHP.

Nota: Quando safe-mode è abilitato, PHP controlla che i file o le directory sulle quali si sta andando a lavorare, abbiano lo stesso UID dello script che è in esecuzione.



add a note add a note User Contributed Notes filepro - [2 notes]
up
0
Brian Clark
6 years ago
filepro() is apparently expecting the map file to be lowercase (at least on UNIX-like systems).
up
0
RobNar
10 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.

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