Franki wrote on Sun, Sep 22, 2002 at 01:36:50PM +0800 : > > What I'd like to do is migrate them to a MySQL database, then I can write > the application using the following:
What would be easier would be to use a database abstration layer. IIRC, there is one for php named AODBC (could be thinking of something else though). It simply makes your calls to a database lookup/write all look the same and you simply pass one variable that tells the actual routines which are doing the conection what type of database you are connecting to. If I have the name wrong, I apologize. I know that I had to set it up when I was setting up snort with ACID. I can't imagine that perl wouldn't have a similar module with similar functionality. Blue skies... Todd -- | MandrakeSoft USA | Sometimes you get what you want. | | http://www.mandrakesoft.com | Sometimes you get experience. | | http://www.mandrakelinux.com | --unknown origin | Cooker Version mandrake-release-9.0-0.3mdk Kernel 2.4.19-12mdk
msg57933/pgp00000.pgp
Description: PGP signature