PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Andrew   News Script   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Configuration file
Class: News Script
Manage and publish news stored in a MySQL database
Author: By
Last change:
Date: 16 years ago
Size: 567 bytes
 

Contents

Class file image Download
<?php
/*
    Configuration settings for NewsScript
*/

// Database Settings //////////////////////////////////////////////////////////

   
$db_host = "localhost";
   
$db_name = ""; //MySQL DB name
   
$db_user = ""; //MySQL User
   
$db_password = ""; //MySQL password
   
////////////////////////////////////////////////////////////////////////////////

   
$lim = 20; // Only show first 20 News Items.

   
$template = "templates/DisplayTemplate.php"; // default template
   
////////////////////////////////////////////////////////////////////////////////
?>