Hi Ken,
here the layout
/public_html/newidea/mydata/todayyesttemp.php
/public_html/newidea/Settimgs.php
so would that be .. ?
did I miss something here
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
############################################################################
# A Project of TNET Services, Inc. and Saratoga-Weather.org (Base-USA template set)
############################################################################
#
# Project: Sample Included Website Design
# Module: Settings.php
# Purpose: Provides the Site Settings Used Throughout the Site
# Authors: Kevin W. Reed <kreed@tnet.com>
# TNET Services, Inc.
#
# Copyright: (c) 1992-2007 Copyright TNET Services, Inc.
############################################################################
# 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
############################################################################
# This document uses Tab 4 Settings
############################################################################
//Version 1.01 - 28-Jul-2012 - added support for nws-alerts scripts
$SITE = array();
############################################################################
# Sitewide configuration - website style and features
############################################################################
#---------------------------------------------------------------------------
# required settings for Cumulus software
#---------------------------------------------------------------------------
$SITE['path'] = $_SERVER['DOCUMENT_ROOT'];
$SITE['extratags'] ='extratags.php';
$SITE['cumuluswebtagsRealtime'] ='cumuluswebtagsRealtime.php';
$SITE['WXtags'] = '../CUtags.php'; // for weather variables
$SITE['ajaxScript'] = 'ajaxCUwx.js'; // for AJAX enabled display
$SITE['realtimefile'] = '../realtime.txt'; // directory and name of Cumulus realtime.txt file
$SITE['graphImageDir'] = '../images/'; // directory location for graph images with trailing /
#---------------------------------------------------------------------------
$SITE['DavisVP'] = true; // set to false if not a Davis VP weather station
$SITE['UV'] = false; // set to false if no UV sensor
$SITE['SOLAR'] = false; // set to false if no Solar sensor
#
##########################################################################
# end of configurable settings#
#
// if your software uploads almanac dates using a language OTHER THAN English, please put the month
// names in your language to replace the English ones below. This is used primarily by the
// wxastronomy.php page for the local dates of moon phases, solistices, and equinoxes
$SITE['monthNames'] = array( // for wxastronomy page .. replace with month names in your language
'January','February','March','April','May','June',
'July','August','September','October','November','December'
);
// example:
//$SITE['monthNames'] = array( // Danish for wxastronomy page .. replace with month names in your language
//'januar','februar','marts','april','maj','juni',
//'juli','august','september','oktober','november','december'
//);
############################################################################
# Sitewide configuration - Station location, identity and date/time info
############################################################################
$SITE['organ'] = 'n9mfk\'s Weather';
$SITE['copyr'] = '© ' . date("Y",time()) . ', n9mfk\'s Weather';
$SITE['location'] = 'Springfield, IL, USA';
$SITE['email'] = 'mailto:n9mfk9@gmail.com';
# Station location: latitude, longitude, cityname
$SITE['latitude'] = '39.706194'; //North=positive, South=negative decimal degrees
$SITE['longitude'] = '-89.631444'; //East=positive, West=negative decimal degrees
$SITE['cityname'] = 'Springfield';
$SITE['tz'] = 'America/Chicago'; //NOTE: this *MUST* be set correctly to
// translate UTC times to your LOCAL time for the displays.
// http://us.php.net/manual/en/timezones.php has the list of timezone names
// pick the one that is closest to your location and put in $SITE['tz'] like:
// $SITE['tz'] = 'America/Los_Angeles'; // or
// $SITE['tz'] = 'Europe/Brussels';
// note: date format used for PHP parts only. Weather software dates are not processed
// except on the astronomy page
//$SITE['timeFormat'] = 'D, d-M-Y g:ia T'; // Day, 31-Mar-2006 6:35pm Tz (USA Style)
//$SITE['timeFormat'] = 'm/d/Y g:ia'; // USA format 03/31/2006 14:03
//$SITE['timeFormat'] = 'd/m/Y H:i'; // Euro format 31/03/2006 14:03
//$SITE['timeFormat'] = 'Y-m-d H:i'; // ISO format 2006-03-31 14:03
$SITE['timeFormat'] = 'D, d-M-Y H:i T'; // Day, 31-Mar-2006 6:35pm Tz (USA Style)
//$SITE['timeOnlyFormat'] = 'g:ia'; // USA format h:mm[am|pm\
$SITE['timeOnlyFormat'] = 'H:i'; // Euro format hh:mm (hh=00..23);
$SITE['timeOnlyFormat2'] = 'g:i A'; // USA format h:mm[AM|PM\
//$SITE['timeOnlyFormat2'] = 'H:i'; // Euro format hh:mm (hh=00..23);
$SITE['dateOnlyFormat'] = 'd-M-Y'; // for 31-Mar-2008 or 'j/n/Y' for Euro format
$SITE['dateOnlyFormat2'] = 'l, d M Y'; // for day of the week + 31-Mar-2008 or 'j/n/Y' for Euro format
############################################################################
# Sitewide configuration - support scripts configuration
############################################################################
###########################################################################
# These values should reflect the units-of-measure your weather station
# uses to report the weather data when processing weather tags.
# Note: if you change them here, make sure to make the corresponding
# changes in the ajax[WXname]wx.js AJAX script also.
###########################################################################
$SITE['WDdateMDY'] = true; // for WD date format of month/day/year. =false for day/month/year
##
# set the Timezone abbreviation automatically based on $SITE['tzname'];
# Set timezone in PHP5/PHP4 manner
if (!function_exists('date_default_timezone_set')) {
putenv("TZ=" . $SITE['tz']);
// print "<!-- using putenv(\"TZ=". $SITE['tz']. "\") -->\n";
} else {
date_default_timezone_set($SITE['tz']);
// print "<!-- using date_default_timezone_set(\"". $SITE['tz']. "\") -->\n";
}
$SITE['tzname'] = date("T",time());
# Automatic Info we might need
############################################################################
if(isset($_SERVER['REMOTE_ADDR'])) {$SITE['REMOTE_ADDR'] = $_SERVER['REMOTE_ADDR'];}
if(isset($_SERVER['REMOTE_HOST'])) {$SITE['REMOTE_HOST'] = $_SERVER['REMOTE_HOST'];}
if(isset($_SERVER['DOCUMENT_ROOT'])) {$SITE['WEBROOT'] = $_SERVER['DOCUMENT_ROOT'];}
if(isset($_SERVER['REQUEST_URI'])) {$SITE['REQURI'] = $_SERVER['REQUEST_URI'];}
if(isset($_SERVER['SERVER_NAME'])) {$SITE['SERVERNAME'] = $_SERVER['SERVER_NAME'];}
$SITE['remote'] = "onclick=\"window.open(this.href,'_blank');return false;\"";
$SITE['PHPversion'] = phpversion();
?>