Location: PHPKode > projects > phpHamLog > phphamlog/phphamlog/configure.php
<?php

#######################################################################################
#
#
#       phpHamLog
#       by phpHamLog Group
#
#       configuration file
#
#       Copyright (C) 2001 phpHamLog Group
#       This program is free software; you can redistributed 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 300, Boston, MA 02111-1307, USA.
#
#######################################################################################
/*
You really should read through this file. As of this writing, not all the variables are 
used yet (namely the contest stuff) but they will be. They are here mainly to help my
train of thought. 
*/

# Time/Date entry
# This forces the time and date of the contact to one of three different modes. The
# first method is meant for contests. That is, the user does not need to worry about
# the time and date.
#
# Also, keep in mind that you can override the time date if you want! If the time sent
# back is more than 1 hour, we use what is input. This allows you to start entering your
# logs from way back in history. Be careful of this, contesters!
#
# You should only select one of these!
#
$qsotimedate = 0;   # Time and Date are set when the qso is submitted
# $qsotimedate = 1;   # Time and Date are set when the page is displayed
$qsosperpage = 20;  # Number of QSOs to display per page when browsing

##############################
# User Data                  #
##############################
$mycallsign = "IK0ZSN";                      # YOUR current callsign, of course!
$mycallsigns = array ( "IK0ZSN", "IK0ZSN/QRP");  # All your callsigns
$myqth = "Rome";         # Your QTH
$mypower = "5";                            # Your typical power output
$myitu = "7";
$mycounty = "Jackson";
$mystate = "MO";
$mycqzone = "4";
$myrig = "Elecraft K2";
$myant = "Dipole";

# Put in your bands. This fills in the default freqs. Add bands as you see fit.
$myfreqs = array ( "1800.00", "3500.00", "7000.00", "10100.00", "14000.00",
                   "18069.00", "21000.00", "24890.00", "28000.00", "50000.00",
                   "144000.00", "222000.00", "440000.00");
# The $mybands array contains the bands. They MUST be in the same order as the above, with the same number of items
$mybands = array ( "160", "80", "40", "30", "20", "17", "15", "12", "10", "6", "2", "220", "440" );


# Put in your modes. This fills in the pull downs. Add modes as you see fit.
$mymodes = array ( "CW", "SSB", "RTTY", "Packet", "AMTOR", "FM");

$cookiename = "nv0u";                // CHANGE THIS TO WHAT YOU WANT!
$cookievalue = "loggedin";           // CHANGE THIS TO WHAT YOU WANT!
$cookiepath = "/";                   // change to the path
$cookiedomain = ".test.phphamlog.localhost"; // CHANGE THIS TO YOUR DOMAIN!
$cookiesecure = false;               // leave this alone 
$mylogpass = "ax43bx";             // CHANGE THIS NOW!
$utctime = "Y";                      // "Y" if you log time as UTC, "N" for local time

#############################
# mySQL stuff               #
#############################
$mysqlpass = "";                # your mysql password
$mysqluser = "root";                # your mysql username
$mysqladdr = "localhost";                # machine with mysql
$mysqlbase = "ik0zsn_log";            # name of the database

#############################
# webserver stuff           #
#############################
$mywebserver = "http://test.phphamlog.localhost/";                 # home
$myphphamlogroot = "/";   # phphamlog home
$myphphamlogimagedir = "$myphphamlogrootimages/";          # relative directory of images
$myphphamloglow = "$myphphamlogroot/low/";                 # this is for low bandwith clients, like Palm VII users

#############################
# Different definitions     #
#############################
# You should feel free to modify this stuff, and you will probably want to in some cases.

$cqzones = array ( "1","2","3","4","5","6","7","8","9","10",
                   "11","12","13","14","15","16","17","18","19","20",
                   "21","22","23","24","25","26","27","28","29","30",
                   "31","32","33","34","35","36","37","38","39","40");

$ituzones = array ( "1","2","3","4","5","6","7","8","9","10",
                    "11","12","13","14","15","16","17","18","19","20",
                    "21","22","23","24","25","26","27","28","29","30",
                    "31","32","33","34","35","36","37","38","39","40",
                    "41","42","43","44","45","46","47","48","49","50",
                    "51","52","53","54","55","56","57","58","59","60",
                    "61","62","63","64","65","66","67","68","69","70",
                    "71","72","73","74","75");

#############################
# Contest Stuff             #
#############################

#IARU HF Championship
$iarubands = array ("160", "80", "40", "20", "15", "10");
$iarufreqs = array ("1800.0", "3500.0", "7000.0", "14000.0", "21000.0", "28000.0");
$iaruzones = array ("AC", "R1", "R2", "R3");

#############################
# HTML Beautification Stuff #
#############################

$pagebackground	= "DDDDFF";
$tbldark 	= "8888EE";
$tbllight 	= "AAAAEE";
?>
Return current item: phpHamLog