ID:               24890
 Updated by:       [EMAIL PROTECTED]
 Reported By:      smulliki at custom dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         dBase related
 Operating System: WinME & Win2K
 PHP Version:      4CVS-2003-07-31 (stable)
 New Comment:

This new function will be in PHP 5, not in PHP 4.



Previous Comments:
------------------------------------------------------------------------

[2003-07-31 13:00:51] smulliki at custom dot net

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 this bug report at http://bugs.php.net/?id=24890&edit=1

Reply via email to