Re: DBM formats

From: Date: Mon, 20 Nov 2000 19:37:59 +0000
Subject: Re: DBM formats
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-26313@lists.php.net to get a copy of this message
First find out what kind of files they are with the 'file' command (CLI). Then use dba_open() function (lookit-up in the manual) to transfer files between formats. If you have Linux, you must have installed at least gdbm:-) -Stathis. Jason Murray wrote: > > Matthew Brealey wrote: > > > > I have at home >2mb of dbm files, which file tells me are gnu dbm or ndbm 1.x. > > Unfortunately on my server I have Berkeley db 2.x files. > > > > How might I best convert them? > > > > -- Random fortune > > Hey, waiter! I want a NEW SHIRT and a PONY TAIL with lemon sauce! > > > > I don't understand entirely what you want to do... so I'll just throw > out a couple suggestions... > > Have a look at http://www.php.net/manual/ref.dba.php > > You may be able to write a C program using GDBM's compat functions to > convert the files before uploading. > > Jason > -- > Jason Murray > Developer > jWeb New Media Design > 1 877 525 jWEB > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#26313) next »