SQLite3 PDO Driver for CodeIdniter v.0.02

Visit Publisher Site

For connect to SQLite3 database in CodeIgniter, use next steps. 1. Create directory /pdo in /database/drivers and copy to this directory driver *.php files 2. Create SQLite3 database file, and put him to any directory. My database file is [APPPATH]/db/base.db 3. In application database config [APPPATH]/config/database.php set next settings: $db['default']['hostname'] = ''; $db['default']['username'] = ''; $db['default']['password'] = ''; $db['default']['database'] = 'sqlite:'.APPPATH.'db/base.db'; $db['default']['dbdriver'] = 'pdo'; This is all. NOTE! If you configure CodeIgniter to save session data to database, then set _absolute_ path from root to database file. Example: $db['default']['database'] = 'sqlite:/var/www/mysite/db/base.db';

Visit publisher site: SQLite3 PDO Driver for CodeIdniter v.0.02

Listing Details

Version:
0.02 
Filed in:
Scripts / PHP / Frameworks / CodeIgniter Framework / CodeIgniter Scripts
Submitted on:
 
Last Updated:
Sep 16, 2010 
Publisher:
Other listings by this publisher

License & Pricing Information

LICENSE #1
License Type:
Other
Price:
$0.00 USD
Additional Info:
Read license on http://codeigniter.com/user_guide/license.html

User Reviews 

Be the first to review this listing!