Location: PHPKode > projects > MySQLauction > libphp/auction.conf.php
<?PHP
  ######################################################################
  # 
  # In accordance with the GPL, this copyright notice MUST remain
  # intact:
  #
  # MySQLauction Release Version 0.1.0 (021001)
  # Copyright (C) 2002 High Sierra Networks, Inc.
  # http://www.servers-r-us.com
  # hide@address.com
  #
  #######################################################################
  #
  # 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; either version 2
  # of the License, or (at your option) any later version.
  # 
  # 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., 59 Temple Place - Suite 330, Boston,
  # MA 02111-1307, USA.
  #
  ######################################################################

  ######################################################################
  #
  # Written by Jorge Gonzalez - Athena Soft, S.A. de C.V.
  # http://www.athenasoft.com.mx
  # hide@address.com
  #
  # Name: auction.conf.php
  # Date: 021001
  # Purpose:
  # This file contains MySQLauction system parameters.
  # Restrictions:
  # None.
  # Change history:
  # 021001 First version.
  ######################################################################

  #
  # URLs
  #
  # This is your main web site home URL
  $HOMEURL = "http://www.servers-r-us.com";
  # This is the auction home URL
  $BASEURL = "http://mysqlauction.athenasoftnet.com";

  #
  # Directories
  #
  $HOMEDIR = "/var/www/mysqlauction";
  $HTDOCSDIR = "$HOMEDIR/htdocs";
  $LIBDIR = "$HOMEDIR/libphp";
  $LOGDIR = "$HOMEDIR/logs";
  $PHOTOSWDIR= "photos";
  $IMGSWDIR= "imgs";
  $HBANNERSWDIR = "headbanners";
  $HBANNERSDIR = "$HTDOCSDIR"."/"."$HBANNERSWDIR";
  $PHOTOSDIR = "$HTDOCSDIR"."/"."$PHOTOSWDIR";

  #
  # Files
  #
  $ACTIONLOG = "$LOGDIR/action.log";
  $ERRORLOG = "$LOGDIR/error.log";

  #
  # PayPal Constants *You shoudn't need changing these*
  #
  $PPcmd = "_xclick";
  $PPno_shipping = "1";
  $PPreturn = "$BASEURL/paymentdone.php";
  $PPcancel_return = "$BASEURL/paymentcancel.php";
  $PPundefined_quantity = "0";
  $PPshipping = "0";

  #
  # PayPal Parameters
  #
  $PPbutton = "http://images.paypal.com/images/x-click-but06.gif";
  $PPalt = "Make payment with PayPal - it's fast, free and secure!";
  $PPbusiness = "hide@address.com";
  $PPitem_name = "Sales Comission";
  $PPimage_url = "$BASEURL/imgs/logo150x50.gif";
  $PPno_note = "1";
  $PPhandling = "0";

  #
  # Constants
  #
  $DAY1 = 86400;
  $DBYES = "Y";
  $DBNO = "N";
  $TXTYES = "Yes";
  $TXTNO = "No";
  $TXTUCYN[$DBYES] = $TXTYES;
  $TXTUCYN[$DBNO] = $TXTNO;
  $DATEFMT = "M d, Y H:i";
  $NOFILTER = 0;
  $HOT_ONLY = 1;
  $NEW_ONLY = 2;
  $TDY_ONLY = 3;
  $AUCTION = "A";
  $CLASSIFIED = "C";
  $NCLASSIFIED = "N";

  #
  # HTML
  #
  $HTMLLOGO = "<IMG SRC=\"imgs/ST_sales_clr.gif\" WIDTH=130 HEIGHT=79 ALT=\"MySQLauction\">";

  #
  # Email addresses
  #
  $WEBUSER = "hide@address.com";
  $INFOBOX = "hide@address.com";
  $CONTACTBOX = "hide@address.com";
  $SUPPORTBOX = "hide@address.com";
  $SALESBOX = "hide@address.com";
  $WEBMASTER = "hide@address.com";

  #
  # Database access parameters
  #
  $DBHOST = "localhost";
  $DBUSR = "root";
  $DBPWRD = "";
  $DBNAME = "auction0_1_0";

  #
  # System parameters
  #
  $MAXAUCTIONDAYS = 15;

?>
Return current item: MySQLauction