ID: 3777 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: dBase related Operating System: Solaris 2.7 PHP Version: 4.0b4pl1 New Comment:
Works fine with latest CVS. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-02-10 15:57:17] [EMAIL PROTECTED] fixing version number in report. ------------------------------------------------------------------------ [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; } ?> ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=3777&edit=1 -- 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]