PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Mohammad Keramatifar   Easy PDO Simple Wrapper   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: database configuration
Class: Easy PDO Simple Wrapper
PDO wrapper to execute common SQL queries
Author: By
Last change:
Date: 6 years ago
Size: 247 bytes


Class file image Download
('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);