Alter.Org.UA  
 << Back Home RU ru   Donate Donate www/www1/www2

PECL DBASE type 'I' filed support

by Alter (alterX@alter.org.ua (remove X))

I'm using dbase module v5.1.0 for PHP. I meat the following problem with some .DBF files:

PHP Warning:  dbase_open(): unable to open database xxx.dbf in /var/tmp

Google gives a lot of reports like "really, doesn't work sometimes" but without definite solution or explanation. Appeared, my .DBF contained binary numeric field (type 'I'). Usually, type 'N' with plain-text number represenation is used. The patch proposed adds support for type 'I' fields and PHP warning for unknown field types.

All patches are sent to development team.

dbase3-Itype.20160704.tgz
2016.07.04

See also:


Mail to alterX@alter.org.ua (remove X)  
designed by Alter aka Alexander A. Telyatnikov powered by Apache+PHP under FBSD © 2002-2017