Web Weather > Weather Website PHP/AJAX scripting

Fire Danger Script

(1/3) > >>

Hi All,

I'm new to weather and this forum.  I'm in the process of setting up my web site,
and would like to list the local fire danger.  I've downloaded the fire danger script from SLOweather, which says that it needs a file called stickertags.txt.  I've looked at Anole's web site, but was unable to find out abot it.  Can anyone help me?

Info here:

Download here:


Hi Dre, and welcome to wxforum.

Before you embark on this, make sure that your web server is running PHP. You need it to run the script.

Since I was already using Anole's Weather Graphic script, and his data file has the required weather data in it already, I use that data in the Fire Danger Script.

You appear to be using WeatherLink software.

Anole's weather graphic download page is at http://scripts.anolecomputer.com/download.shtml . It's a PHP script package that creates those spiffy banners like you see at the bottom of a lot of posts here and on other forums.

At the link, you will see a file called wxgraphic_6.1.zip.

Inside that zip file, is a file called WeatherLink_graphictags.htx.

It's a simple text file that looks like this:


Those are called html tags. When properly configured, WeatherLink will read that file, recognize the tags, replace each tag with the correct current value, and the upload the file to your website. Then the fire danger script can read those values whenever the script is called, and calculate the current Chandler Burning Index/Fire Danger.

You need to save that file on your computer, and then set WeatherLink to read it and upload it. Once uploaded, you need to edit the fire danger PHP script to point to that data file to get the values.


Thanks for the help.  Be sure to check out my web site and let me know what you think.


Well I successfully located all the parts and the program almost works.  But I need a little more help (i think I'm overlooking something).  If I anchor the php script in the HTNL page
   <a href="/fire/firedanger.php">press here for file danger</a>

it works fine, but since it is a link, you have to click on the text to make it work.

What I want to do is to have the graphic showup on the HTM page when its opened, So I put this lin in the HTML file

  <?php include("/fire/firedanger.php"); ?>

it produced no output.  Any ideas what I'm doing wrong?


[0] Message Index

[#] Next page

Go to full version