Login   Register  
PHP Classes
elePHPant
Icontem

File: config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jannerel Roche  >  Paging Class with AJAX or HREF  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: configuration file
Class: Paging Class with AJAX or HREF
Browse paginated query results using AJAX or HREF
Author: By
Last change: -removed requires and removed class instanciation
Date: 3 years ago
Size: 496 bytes
 

Contents

Class file image Download
<?

/*
THIS CLASS USES PEAR DB 
PLEASE CUSTOMIZE DSN ARRAY TO SUIT YOUR NEEDS
*/



if($_SERVER['HTTP_HOST']=='localhost') {
    
    
define(PHP_TYPE'mysql');
    
define(HOST_SPEC'localhost');
    
define(DB'information_schema');
    
define(USER'root');
    
define(PWD'');
    
} else {
    
    
define(PHP_TYPE'mysql');
    
define(HOST_SPEC'localhost');
    
define(DB'information_schema');
    
define(USER'bitpack_jan');
    
define(PWD'dubai');
}


 


         
                    
                    
 
    
 

?>