
Copyright (c), 1999, 2000 - phpauction.org                  

This program is free software; you can redistribute it and/or modify 
it under the terms of the GNU General Public License as published by 
the Free Software Foundation (version 2 or later).                                  

This program is distributed in the hope that it will be useful,      
but WITHOUT ANY WARRANTY; without even the implied warranty of       
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        
GNU General Public License for more details.                         

You should have received a copy of the GNU General Public License    
along with this program; if not, write to the Free Software          
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
----------------------------------------------------------------------


REQUIREMENTS
------------
PHP3 3.12+
Mysql 3.22.32+


INSTALLATION
------------

Unpack it in a directory under your www root.

1.
  Create a MySQL database (i.e. phpauction), by typing the following from the 
  commnad line:
  
  	# mysqladmin -u root create phpauction

2.
  Populate the database using the dump file dump.sql contained in the "sql" directory 
  in the distribution:
  
  	# mysql -u root phpauction < dump.sql
 
3. 
  Edit the following files to reflect your server configuration:
  * /includes/config.inc.php3
  * /includes/passwd.inc.php3
  
  You may also want to edit the following files:
  * /includes/auctionmail.inc.php3       (to personalize confirmation e-mail)
  * /includes/currency.inc.php3          (to change the currency symbol)
  * /includes/durations.inc.php3         (to change the auctions durations)
  * /includes/endauctionmail.inc.php3    (to personalize confirmation e-mail)
  * /includes/friendmail.inc.php3        (to change e-mail message)
  * /includes/payments.inc.php3          (to change payment methods)
  * /includes/user_confirmation.inc.php3 (to personalize confirmation e-mail)
  * /includes/usermail.inc.php3          (to personalize confirmation e-mail)

4.
  	The cron.php3 script is responsable for checking the expired auctions,
  	updating the database accordingly and sending notification e-mails to 
  	the seller and the winner(s) (if any).
  	Set up your server to run this script periodically (tipically a cron job
  	under *nix).


--------------------------------------------------------------------------------
  SECURITY NOTE
--------------------------------------------------------------------------------
You may want to place the passwd.inc.php3 file contained in the /includes
directory, outside the www tree of your server.
In this (recomended) case, be sure to properly configure the config.inc.php3 
file.
--------------------------------------------------------------------------------
