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)

fileproLee y verifica el mapa del fichero

Descripción

bool filepro ( string $directory )

Lee y verifica el mapa del fichero, guardando el número de campos e información.

No se produce ningún bloqueo, así que se debería evitar modificar la base de datos cuando es abierto con PHP.

Nota: Cuando safe mode está habilitado, PHP comprueba si los archivos o directorios que va a utilizar tienen el mismo UID (propietario) que el script que está siendo ejecutado.

Parámetros

directory

El directorio del mapa.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.



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
9 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