Ever want to receive severe weather alerts by cell phone, blackberry, Twitter, or email?
What does it do?
This PHP script is used to check the NWS Public Alert Atom Feeds on a timed schedule, then message you if an alert status changes in the zone you have set. The alert message is short enough to send to a cell phone, blackberry, or email. Twitter is also optionally supported. Supports sending messages by email and Twitter
What do I need?
PHP 5 with CURL support is required
.. Web server hosting account with PHP support and ability to send emails from PHP
.. Ability to schedule a cron job or a scheduler program on your PC that can request a URL every 15 minutes.
.. your PHP server must allow PHP scripts permission to write files. safe_mode is recommended to be off.
How use it?
1) Set your settings in the "settings" section in the script. Be sure to set the NWS Forecast zone and your email address. Set all the settings for Email and Twitter, each method can be enabled or disabled.
2) Upload the php file to your web server
3) Test from a URL, see if you can see the output.
4) set a cron job
see readme.txt for more info
Please refer to the forum post on the Weather Watch Forum for the discussion.
This php code provided "as is," and Long Beach Weather (Michael Challis) disclaims any and all warranties, whether express or implied, including (without limitation) any implied warranties of merchantability or fitness for a particular purpose. Use of this code signifies your acceptance.