index.php

This class uses the PDO library to access and perform queries in a MySQL server It's safe, fast and all changes are logged into a file for future audit.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

Constants

DB_HOST

DB_HOST

The host of the mysql server

DB_PORT

DB_PORT

The port of the mysql server

DB_USER

DB_USER

The user of the mysql server

DB_PASS

DB_PASS

The password of the mysql server

DB_NAME

DB_NAME

The database to connect

DB_ENCODING

DB_ENCODING

The database encoding (used to insert and update statements)