Login   Register  
PHP Classes
elePHPant
Icontem

File: setting.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of henryi  >  PHP-MYSQL-MSSQL  >  setting.inc.php  >  Download  
File: setting.inc.php
Role: Configuration script
Content type: text/plain
Description: setting of this class
Class: PHP-MYSQL-MSSQL
The Class for PHP2MYSQL or PHP2MSSQL
Author: By
Last change:
Date: 12 years ago
Size: 432 bytes
 

Contents

Class file image Download
<?php
/* This script is setting all vars */


##### Setting SQL Type #####
$sql_type "1"// 1 --> MySQL ; 2 --> MSSQL

 
if($sql_type == "1"){
  include (
"mysql.inc.php");
 }elseif(
$sql_type == "2"){
  include (
"mssql.inc.php");
 }

##### Setting SQL Vars #####
$sql_host "SQL_HOST";
$sql_name "SQL_NAME";
$sql_user "SQL_USER";
$sql_pass "SQL_PASS";

##### Setting Other Vars #####
$per_page "5";
?>