From:             smulliki at custom dot net
Operating system: WinME & Win2K
PHP version:      4CVS-2003-07-31 (stable)
PHP Bug Type:     dBase related
Bug description:  dbase_get_header_info() not known

Description:
------------
I installed phpdev423.exe.  This installs apache, mysql,php4,phpmyadmin. 
This install was made on WinME and all tested fine.  I then started
writing php script to read a dbase file and create a mysql database,
create tables, and write dbase data into tables. Open of dbase file worked
fine. Connect to MYSQL worked fine. Get number of dbase records worked
fine.  THEN I tried dbase_get_header_info() so that I could have the
script create the table.  This function was not recognized.  I checked
spelling carefully against documentation(php_manual.chm).  That function
is documented but seems not to exist. I upgraded php to 4.3.2 and then to
latest CVS snapshot. php_dbase.dll is the exact same size in all versions.


Reproduce code:
---------------
$dbheaders = dbase_get_header_info($dbfile) or die("Error! Could not get
header info.");

This code didn't produce my die error message. It said instead that the
function was unknown.

Expected result:
----------------
I expect to get header info as documented in php_manual.chm.

This includes column name, field length, etc.

Actual result:
--------------
Error message.

function unknown

-- 
Edit bug report at http://bugs.php.net/?id=24890&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24890&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24890&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24890&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24890&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24890&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24890&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24890&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24890&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24890&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24890&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24890&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24890&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24890&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24890&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24890&r=gnused

Reply via email to