Newsbox 2.1 Version Date: 6/20/04 Coded By Travis Beckham www.squidfingers.com | www.podlob.com |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Requirements ----------------------------------------------------------------- PHP 4.1, MySQL |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Step 1. ---------------------------------------------------------------------- To configure, open up this file and edit the variables... /includes/configure.php This file contains variables for the following: * admin page username * admin page password * database host * database name * database username * database password * database table name * compensate for the difference between your local time and the server time * the html used to output the news entries |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Step 2. ---------------------------------------------------------------------- To access the admin page, upload the files to the root directory on your server and navigate to... http://www.yoursite.com/admin/ ...you will need to use the admin username and password that you supplied in "/includes/configure.php" to login. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Step 3. ---------------------------------------------------------------------- This database table needs to be created... CREATE TABLE newsbox ( id_number mediumint(9) NOT NULL auto_increment, add_date datetime NOT NULL default '0000-00-00 00:00:00', text_entry text NOT NULL, active enum('y','n') NOT NULL default 'y', PRIMARY KEY (id_number), UNIQUE KEY id_number (id_number), KEY (active) ); This table can automatically be create for you, by just going to the admin page. It will prompt you to create the table if it's not already created. Make sure the file 'configure.php' has the correct database information. |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Disclaimer ------------------------------------------------------------------- I am unable to help with the set up of this news system, because there are many different server configurations that I'm not familiar with. This system is known to work with PHP 4.1.0 running on the Apache web server. I also do not guarantee the security of the admin page. Use at your own risk. (although, I've never had a problem with it) ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||