";
?>
Heat Index Temperature (°F) Last Month, Idyllwild Station at 5,479 Feet %s %s %s, %s", $timeday, $timemonth, $timedays,$timeyear,$graphdata[5]);
//printf ("%s %s %s, %s ", $timeday, $timemonth, $timedays,$timeyear);
echo " ";
echo " ";
//echo "Webcam currently offline ";
} //PS image
fclose($fp);
// **************************************************
$fp = fopen("/home/weather/raws/IDYLLWILD.2.TXT", 'r');
if ($fp){
$temperature = fgetcsv($fp,70,"|");
//printf ("Current Weather Conditions in Idyllwild Heat Index Temperature: %.0f °F R. Humidity: %.0f % ", $temperature[3], $temperature[4] );
printf ("Currently: Heat Index Temperature: %.0f °F Relative Humidity: %.0f % Barometric Pressure: %.2f inHg ", $temperature[3], $temperature[4], $temperature[17] );
fclose($fp);
// Start Sunrise info
$fp = fopen("/home/webcam/sun.txt", 'r');
if ($fp){
$riseset = fgetcsv($fp,130,"|");
echo " Begin Civil Twilight $riseset[8] ";
echo " ";
echo "Sunrise $riseset[4] ";
echo " ";
echo "Sunset $riseset[6] ";
echo " ";
echo "End Civil Twilight $riseset[12] ";
fclose($fp);
}
printf ("Last Day | Last 3 Days | Last Week | Last Month ", $temperature[3], $temperature[4] );
printf (" Other Graphs: Temperature | Relative Humidity | Pressure | Dew Point | Cloud Height | Heat Index | Wind Speed | Gusts ");
printf (" Sponsored by: Green Cafe Internet | Cafe Cinema | Idyllwild Scrapbook | Idyllwild Lodging | Idyllwild Film Festival ");
}
fclose($fp);
// **************************************************
?>