Relative Humidity (%)
Last 30 Days, Idyllwild Station at 5,479 Feet %s %s %s, %s", $timeday, $timemonth, $timedays,$timeyear,$graphdata[5]);
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
Temperature: %.0f °F R. Humidity: %.0f %", $temperature[3], $temperature[4] );
printf ("Currently: 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 "
Dawn $riseset[8]";
echo " ";
echo "Sunrise $riseset[4]";
echo " ";
echo "Sunset $riseset[6]";
echo " ";
echo "Dusk $riseset[12]";
fclose($fp);
}
printf ("
Last Day | Last 3 Days | Last Week | Last Month | Last 2 Months");
printf ("
Other Graphs: Temperature | Relative Humidity | Pressure | Dew Point | Cloud Height | Heat Index");
printf ("
Sponsored by:
Green Cafe Internet | Cafe Cinema | Idyllwild Scrapbook | Idyllwild Lodging | Idyllwild Film Festival ");
}
fclose($fp);
// **************************************************
?>