StupidGrep
[ class tree: StupidGrep ] [ index: StupidGrep ] [ all elements ]

Source for file connect.php

Documentation is available at connect.php

  1. <?php
  2. /**
  3.  * SQL Connection Values
  4.  * 
  5.  * Defines the connection values for the database.
  6.  *
  7.  * @author Eric Lamb <eric@ericlamb.net>
  8.  * @version .01
  9.  * @link http://blog.ericlamb.net/
  10.  * @copyright 2008 Eric Lamb
  11.  * @package    StupidGrep
  12.  * @filesource
  13.  */
  14.  
  15. /**
  16.  * Server for DB
  17.  * @global string    $dbServer 
  18.  */
  19. $dbServer   "localhost";
  20.  
  21. /**
  22.  * Username for DB
  23.  * @global string    $dbUsername 
  24.  */
  25. $dbUsername "db_user";
  26.  
  27. /**
  28.  * Password for DB
  29.  * @global string    $dbPassword 
  30.  */
  31. $dbPassword "db_pass";
  32.  
  33. /**
  34.  * Database to connect to
  35.  * @global string    $dbDatabase 
  36.  */
  37. $dbDatabase "db_name";
  38.  
  39. /**
  40.  * Database object
  41.  * @global object    $DB 
  42.  */
  43. $DB new mySQL($dbServer$dbUsername$dbPassword$dbDatabaseFALSE);
  44. $Dbg->DatabaseName $dbDatabase;
  45. ?>

Documentation generated on Thu, 01 Jan 2009 14:04:17 -0800 by phpDocumentor 1.4.2