Login   Register  
PHP Classes
elePHPant
Icontem

File: SQL_drivers.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Fernando Costa(14biss)  >  SPMD  >  SQL_drivers.php  >  Download  
File: SQL_drivers.php
Role: Example script
Content type: text/plain
Description: Supported SQL drivers
Class: SPMD
Wrapper to access different types of databases
Author: By
Last change:
Date: 2011-08-11 19:32
Size: 391 bytes
 

Contents

Class file image Download
<?php
$Con1 
= new SPMD('mssql:host="127.0.0.1:1000"; user="sa"; pass="123456"; database="MuOnline";');
$Con2 = new SPMD('mysql:host="127.0.0.1"; user="root"; pass="123456"; database="l2jdb";');
$Con3 = new SPMD('oci:host="localhost"; user="userName"; pass="123456"; database="dbName";');
$Con4 = new SPMD('pgsql:host="localhost"; user="userName"; pass="123456"; database="dbName";');
?>