PHP Classes

File: SQL_drivers.php

Recommend this page to a friend!
  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: 12 years ago
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";');
?>