ID: 3777 Updated by: jimw Reported By: [EMAIL PROTECTED] Status: Open Bug Type: dBase related Assigned To: Comments: fixing version number in report. Previous Comments: --------------------------------------------------------------------------- [2000-03-08 20:28:28] [EMAIL PROTECTED] under 4.0b4p1 for apachemodules and standalone binary dbase_create fails with message " second parameter must be array of arrays in ... " this same fcn runs under 3.0.15 and runs correctly under linux rh6.1 with 4.0b4p1 compiler was gcc 2.95.2 flags were scripts was <?php $dcfile = '/tables/ave/datacat/datacat.dbf'; $dbfdef = array ( array ('DATASRC','C',100,0), array ('DATALIMIT','C',250,0), array ('DATACLLCT','C',250,0), array ('DATADESCR','C',250,0), array ('DATANAME','C',80,0), array ('LEGEND_SRC','C',80,0), array ('CATEGORY','C',30,0), array ('SCRIPT','C',80,0) ); $dbf = dbase_create ($dcfile, $dbfdef); if ( !$dbf ) { echo "unable to create file!!!<br></body></html>"; exit; } ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=3777&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]