Volcano Conditions - Carterlake Plugin Page by Mike Challis
Free PHP Scripts - www.642weather.com/weather/scripts.php
Download         - www.642weather.com/weather/scripts/wxvolcano.zip
Live Demo AK     - www.642weather.com/weather/volcano-ak.php
Live Demo WA     - www.642weather.com/weather/volcano.php
Contact Mike     - www.642weather.com/weather/contact_us.php
Donate:          https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2319642  

Version: 1.03 - 11-Sep-2010 see changelog.txt for changes

Support thread at weather-watch forum:
http://www.weather-watch.com/smf/index.php/topic,40385.0.html

This is a Carterlake Plugin Page for the USA carterlake php template
http://saratoga-weather.org/template/index.php

-----------------------------------------
Installation (USA carterlake php template sites)
-----------------------------------------

Step 1)
You must already be running the USA carterlake php template
http://saratoga-weather.org/template/index.php

Step 2)
Upload this file to your web server: (chose one)
wxvolcano-ak.php (Alaska - Mt Redoubt)
wxvolcano-hi.php (Hawaii - Kilauea)
wxvolcano-wa.php (Washington - Mt Saint Helens)


Step 3) 
test your page:
www.yoursite.com/wxvolcano-ak.php (Alaska - Mt Redoubt)
www.yoursite.com/wxvolcano-hi.php (Hawaii - Kilauea)
www.yoursite.com/wxvolcano-wa.php (Washington - Mt Saint Helens)


Note:
Some users sometimes have file permissions problems with the volcano-current-xx.txt cache file:
Here are some tips:
(Do this only if you are having file permissions errors!)
Create the file in Notepad or similar text editor. The file can be empty. 
volcano-current-ak.txt (Alaska - Mt Redoubt)
volcano-current-hi.txt (Hawaii - Kilauea)
volcano-current-wa.txt (Washington - Mt Saint Helens)
Upload ot to your server and CHMOD it to 666

You may continue to have problems if your server has "safe_mode on" or other restrictions on file create, file write functions.
In that case, please consult your web host tech support.

-----------------------------------------
Installation (custom php template sites)
-----------------------------------------

Step 1)
Edit one of these files: (chose one)
wxvolcano-ak.php (Alaska - Mt Redoubt)
wxvolcano-hi.php (Hawaii - Kilauea)
wxvolcano-wa.php (Washington - Mt Saint Helens)
Trim the code between these tags and paste it into your own template page with the same name.
<!-- content begins --> 
(the code you need is between the tags)  
<!-- content ends -->   

Step 2)
Upload this file to your web server: (chose one)
wxvolcano-ak.php (Alaska - Mt Redoubt)
wxvolcano-hi.php (Hawaii - Kilauea)
wxvolcano-wa.php (Washington - Mt Saint Helens)

Step 3) 
test your page:
www.yoursite.com/wxvolcano-ak.php (Alaska - Mt Redoubt)
www.yoursite.com/wxvolcano-hi.php (Hawaii - Kilauea)
www.yoursite.com/wxvolcano-wa.php (Washington - Mt Saint Helens)

Note:
Some users sometimes have file permissions problems with the volcano-current-xx.txt cache file:
Here are some tips:
(Do this only if you are having file permissions errors!)
Create the file in Notepad or similar text editor. The file can be empty. 
volcano-current-ak.txt (Alaska - Mt Redoubt)
volcano-current-hi.txt (Hawaii - Kilauea)
volcano-current-wa.txt (Washington - Mt Saint Helens)
Upload ot to your server and CHMOD it to 666

You may continue to have problems if your server has "safe_mode on" or other restrictions on file create, file write functions.
In that case, please consult your web host tech support.


-----------------------------------------
Live Example
-----------------------------------------
You can see my Volcano Script in use here:
http://www.642weather.com/weather/volcano-ak.php (Alaska - Mt Redoubt)
http://www.642weather.com/weather/volcano.php (Washington - Mt Saint Helens)

-----------------------------------------
Donate
-----------------------------------------
A paypal donate button is on my scripts page
www.642weather.com.com/weather/scripts.php
or use this direct link:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2319642


