<?php define('DB_SERVER', 'localhost'); define('DB_USERNAME', 'root'); define('DB_PASSWORD', ''); define('DB_DATABASE', 'dbname'); define('DB_PERSISTENCY', 'true'); define('PDO_DSN', 'mysql:host=' . DB_SERVER . ';dbname=' . DB_DATABASE); ?>
info at phpclasses dot org