Menu

database.php with PostgreSQL support

2001-07-23
2002-10-30
  • Dustin A. Dortch

    I wrote a database.php file that has support for PostgreSQL... it is pretty simple, just finding the functions that match up with MySQL.  I got rid of database.php in my implementation.  I then created db.php and db/ directory. Each file in the d/ directory would be for a specific dbms.  I only have the 2, MySQL and PostgreSQL, represented by mysql.php and pgsql.php respectively.  The db.php just determines what dbms you have selected in your config.php, which I also think I created, and then includes the appropriate one. I would like to start adding to this project.

     
    • Philip Olson

      Philip Olson - 2001-12-12

      cool, if you're still interested send me an email and we'll talk.  i'm back after about a year away, i kinda forgot about phortify :)

       
    • Eric Poiseau

      Eric Poiseau - 2002-10-30

      I am really interested in your patch to support Postgresql.
      Please could you make it available.

      Thanks

          Eric

       

Log in to post a comment.