//
*****************************************************************
// ---"The World's simplest yet powerful PHP Message/Quote of
the Day Script"---
//
// Author: Mads Søgaard (mads@acm.org)
// Homepage: http://www.interaction-design.org/scripts/quote_of_the_day/
// Version: 1.0
// Copyright: GPL - Gnu Public License
// Demo: Available shortly
// Download it at
http://www.interaction-design.org/mads/scripts/quote_of_the_day/quotes.zip
// (the zip file contains the two files: quotes.php
and quotes.sql)
//
// *****************************************************************
// ------------------------------------ Description
------------------------------------------
//
// "The World's simplest PHP Message/Quote of the Day Script" is a simple
// "quote-of-the-day script" that needs access to a MySQL database. It only
// consists of one script that's SIMPLE and hence easy to customize. This is how
// it works: You put any number of quotes/messages/whatever into the database,
// and then the script will show one quote every day. When all quotes have been
// shown, the script starts from the beginning of the quotes again. And if your
// quote-of-the-day page doesn't receive any visitors on a given day, the given
// quote-of-the-day will be shown the next day too. It simple, yet smart.
//
//
// ******************************************************************
// ---------------------------------------- Installation
---------------------------------------
// 1. Upload the quote.php to your web server.
// 2. Change the following variables $DB_SERVER,$DB_USER, $DB_PASS, $DB_NAME
// (see below)
// 3. Create the needed tables in your database with the quotes.sql file.
// You can do it from the prompt (mysql -u[username] [-p] [database] <
quotes.sql)
// or you can use the wonderful phpMyAdmin at
// http://www.phpwizard.net/projects/phpMyAdmin/
// 4. Point your browser to http://yourdomain/quotes.php
// 5. Add your own quotes to the database and custumize the script as you see
fit.
//
// *******************************************************************
// ---------------------------------- Do you find this
script useful? ------------------------
//
// Then by all means recommend it to other people! Or link back to me from your
// homepage (that would be greatly appreciated)
// You can also review my script and give it good grades at:
// http://www.hotscripts.com/Detailed/14287.html
// (or anywhere else you may have found it)
//
// *******************************************************************
// Also, please see the Interaction-Design.org site about HCI, Usability, Information Architecture and more