PDA

View Full Version : [SOLVED] PHP Script enhancement for InstaWARN


KA8OAD
02-06-2004, 01:14 AM
Hello All,
I hope I'm not off-topic posting this here but I have created a nice little server side PHP script that works in conjunction with the InstaWARN summary.txt file which will add a dynamically created warning banner to your website. The banner will display a default "good weather" text message which you define (or no text at all) and then will automatically change to a warning text message you also define when an alert is being displayed by InstaWARN. There is also a sound option which will play a short "alert tone sequence" similar to what most radio and tv stations use in their alert messages. The banner can be placed anywhere on your page, mine is at the top embedded in my webpage's main banner to let users know immediately when entering my site if a watch or warning has been issued for the area. They can then scroll down into the site and read the actual warning bulletin from InstaWARN. The text can be turned off if you prefer to just have the alert tones sound during watches or warnings. Your server must suppport PHP scripting for this to work. Did I mention that it's FREE... :D

For more information and to see a demo please check it out at:
http://pages.sssnet.com/kend/alertdemo.htm

Thank you for your time!
Ken

KA8OAD
02-11-2004, 03:15 PM
I also have a PHP script that will dynamically change the text color or background color of the InstaWARN scroller depending upon if a weather watch/warning is being displayed. It also has the alert tone option. On my site the scroller is configured to have green text on a black background for "all clear" and red text on a black background when watches/warnings are being displayed.

You can see a demo at the same link as above.

Thanks,
Ken