[PHP] Hashes in text files

2002-05-03 Thread Rodrigo
Can I store Hashes in text files? If yes, how? Can I store a multi dimensional array in a text file? If not how should I do to store the data in one file and the pointer in another file? Thanx, Rodrigo

Re: [PHP] Hashes in text files

2002-05-03 Thread Marius Ursache
use mysql, forget about files.. they are too slow. Rodrigo a écrit : Can I store Hashes in text files? If yes, how? Can I store a multi dimensional array in a text file? If not how should I do to store the data in one file and the pointer in another file? Thanx, Rodrigo -- Marius

Re: [PHP] Hashes in text files

2002-05-03 Thread Jason Wong
On Friday 03 May 2002 15:16, Rodrigo wrote: Can I store Hashes in text files? If yes, how? Can I store a multi dimensional array in a text file? If not how should I do to store the data in one file and the pointer in another file? You can use serialize() on your array before you write to

Re: [PHP] Hashes in text files

2002-05-03 Thread Miguel Cruz
On Fri, 3 May 2002, Rodrigo wrote: Can I store Hashes in text files? If yes, how? Can I store a multi dimensional array in a text file? If not how should I do to store the data in one file and the pointer in another file? http://php.net/serialize That function will turn any PHP data