From: D. M. <li...@mf...> - 2004-12-03 20:35:32
|
I'm not doing anything with Merlin at the moment, so I decided that I really should post the minor little things I did to get it working for a quick project I did. It was for a website that didn't have access to any database, so I got PHP Text DB working with the system. It doesn't do everything, but the basic functionality seems to be operational. It is also a nice little package with a simple text-based SQL engine. I'll try attaching the zip file that contains the various bits and pieces. Nope, SF is blocking zip attachments. Okay, I'm putting it at: http://www.mfgames.com/merlin-txt-db.zip (This link should be valid until at least January 1, 2005.) This follows most of the directory structure that is already there, but it adds a databases/ directory somewhere in the tree. See the config file for the settings that are required. I also included the library, there is one minor change from the core PHP-Text-DB system, to set the variables properly. I also included an example of how to use it (objects/source_pay_status.php) as a source for the data sets. As I mentioned before, I'm not doing anything with Merlin right now and someone in the future might want to use it on a site that doesn't allow a database, but still want to use the database functionality. Cheers, Dylan |