|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-12-17 10:58 UTC] tom dot polak at post dot sk
Hello, I would like to request feature for PHP dBase support functions. It will be helpfull, if will be possible to read dBase file header information, not only number of fields and its names. For dBase importing is also important data type, length and precision (if applicable). If you thing, that I can help you with this request, send me mail. Thank you. Best regards, Tomas Polak PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 05:00:01 2025 UTC |
Function dbase_get_header_info() has been added to the dbase extension. The function accepts a dbase connection handle as its sole argument and returns an array of associative arrays. The arrays are of the form: Array ( [0] => Array ( [name] => date [type] => date [length] => 8 [decimal places] => 0 [printf format] => %8s [record offset] => 1 ) [1] => Array ( [name] => name [type] => character [length] => 50 [decimal places] => 0 [printf format] => %-50s [record offset] => 9 ) ... The feature has been added to the CVS repository and will hopefully be included in the next major release of PHP after 4.3.