Location: PHPKode > projects > Top site PHP script > topsite/config.php
<?php
//We start sessions
session_start();

/******************************************************
------------------Required Configuration---------------
Please edit the following variables so the top site can
work correctly.
******************************************************/

//We log to the DataBase
mysql_connect('host', 'username', 'password');
mysql_select_db('database');

//Password for administration
$password = 'webestools';

//Webmaster Email
$mail_webmaster = 'hide@address.com';

//Top site root URL
$url_root = 'http://www.example.com/topsite/';

/******************************************************
-----------------Optional Configuration----------------
******************************************************/
//Number of sites per page
$nb_site_page = 10;

//Send an email when accepting/rejecting a web site
$mail = true;

//Top site Home page
$url_topsite = 'index.php';

//Design Name
$design = 'default';
?>
Return current item: Top site PHP script