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

search for in the

Sistema de archivos> <filePro
Last updated: Tue, 27 Nov 2007

view this page in

filepro

(PHP 4, PHP 5 <= 5.1.6)

filepro — Lee y verifica el archivo mapa

Descripción

bool filepro ( string $directorio )

Esta función lee y verifica el archivo mapa, que almacena el conteo de campos y otra información.

No se realiza ningún bloqueo, así que debe evitar modificar su base de datos filePro mientras es abierta en PHP.

Note: Cuando safe-mode (modo-seguro) está activado, PHP comprueba si los archivos o directorios que va a utilizar tienen la misma UID que el script que está siendo ejecutado.

Lista de parámetros

directorio

El directorio mapa.

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.



Sistema de archivos> <filePro
Last updated: Tue, 27 Nov 2007
 
add a note add a note User Contributed Notes
filepro
Brian Clark
15-Apr-2007 05:47
filepro() is apparently expecting the map file to be lowercase (at least on UNIX-like systems).
RobNar
12-Jun-2003 06: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.
kulpp at wsg dot net
09-Jul-2000 01:52
FYI: Please check for outstanding bug reports on the filepro functions before using them.

Sistema de archivos> <filePro
Last updated: Tue, 27 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites