PHP Scripts by
Mike Challis
Here are some PHP Scripts I coded for use
on this site and for others to use on their web sites. You are free to
download and modify the code for your own use.
WordPress Plugin - SI CAPTCHA Anti-Spam
Adds CAPTCHA anti-spam methods to
WordPress on the comment form, registration form, or both. In order
to post comments, users will have to type in the phrase shown on the
image. This can help prevent spam from automated bots.
WordPress Plugin - Fast Secure Contact
Form
Fast Secure Contact Form plugin for
WordPress. This contact form lets your visitors send you a quick
E-mail message. Blocks all common spammer tactics. Spam is no longer
a problem. Includes a CAPTCHA and Akismet. Does not require
JavaScript. Easy and Quick 3 step install.
WordPress Plugin - Visitor Maps and Who's
Online
Displays Visitor Maps with location
pins, city, and country. Includes a Who's Online Sidebar to show how
many users are online. Has a Who's Online admin dashboard to view
visitor details. The visitor details include: what page the visitor
is on, IP address, host lookup, online time, city, state, country,
geolocation maps and more. No API key needed. Easy and Quick 4 step
install.
Fast Secure Contact Form – PHP Script
Use my contact form PHP script on your
web site to allow users to easily contact you. Your email address is
completely concealed so spammers cannot get your email addresses to
spam you.
Who's Online PHP Script
This advanced PHP script is designed to
be a webmaster tool for your PHP template web site. It uses a MySQL
database to track web site visitors online from the last 15 minutes.
You can see what pages they click on. It has features like IP
address, host lookup, online time, city, state, country, geolocation
maps and more. Nothing is permanently logged except for a few
records.
NWS
Public Alert Messenger PHP Script
Ever want to receive severe weather
alerts by cell phone, blackberry, Twitter, or email? 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 twitter,
a cell phone, blackberry, or email. Supports sending messages by
Email and Twitter, each method can be enabled or disabled. Messages
can be customized in the script settings.
NWS Weather Forecast Messenger PHP Script
Ever want to receive NWS weather
forecasts by cell phone, blackberry, Twitter, or email? Now you can.
This PHP script is used to check the
NOAA
Weather XML Forecast feeds on a timed schedule, then send
a forecast message. Uses the forecast for the the latitude longitude
you have set in the settings. The forecast message is short enough
to send to twitter, a cell phone, blackberry, or email. Supports
sending messages by Email and Twitter, each method can be enabled or
disabled. Messages can be customized in the script settings.
Weather Display Conditions Messenger PHP
Script
Ever want to receive current weather
conditions from your personal weather station by cell phone,
blackberry, Twitter, or email? Now you can. This PHP script is used
to check the Weather Display Conditions on a timed schedule, then
send a message. Uses Weather Display Conditions data from your own
personal weather station's testtags.php. The message is short enough
to send to twitter, a cell phone, blackberry, or email. Supports
sending messages by Email and Twitter, each method can be enabled or
disabled. Messages can be customized in the script settings.
Sunrise - Sunset PHP Script
This script uses built-in PHP 5
functions (date_sunrise and date_sunset) to calculate sunrise -
sunset times and determine if it is currently day or night time.
Multifunction Image Handler PHP Script
This script is a very easy to use
multifunction image handler script for your weather web site. The
caching feature makes it the perfect solution to gracefully "hot
link" an image from another web site. Note: Please use common
courtesy... get permission to use the image you will download and
display.
How To
PHP Upload Your Web Cam Image to WeatherUnderground
This is a tutorial on how I upload my
web cam image to WeatherUnderground. It is probably too complicated
for many average users. If you already have a personal weather
station, Weather-Display Software, a web cam, and a weather web
site, then this tutorial might look interesting to you.
Weather Web Cam Images History PHP Script
This script makes a web cam history
archive thumbnail images page. The images can be clicked on and
viewed in a pop-up viewer. It features pagination and automatic
image rotation purging when combined with my
PHP Web Cam Image Text Overlay script
which is required anyway.
IP To Country Lookup PHP Script
Find the country and host info for an
IP address. Features include showing host lookup, country name, 2
letter country code, and country flag image. Includes links to more
lookups such as Spammer and Blacklists, and Regional whois servers.
Wind Direction Graphics Generator
Create wind direction graphics that are
compatible with Ken True's
Ajax Dashboard PHP script
and his
Free Weather Website Templates.
They are 17 images that represent the 16 common compass positions of
E, ENE, ESE, N, NE, NNE, NNW, NW, S, SE, SSE, SW, W, WNW, WSW and an
image representing Calm.
Color Theme Switcher for WD/PHP/AJAX
Website Template
This plugin for the
WD/PHP/AJAX Website Template allows
your web site users to select a color theme when they visit your
site. It adds a "Style Options" selector on the web site navigation
menu. When you select a style, it saves the setting in a cookie, so
if you come back another time, the same style will be shown again.
The Color Theme Switcher Plugin is packaged with many color styles
of both narrow and wide layouts and is already included in the WD/PHP/AJAX
Website Template as of March 08, 2008.
WordPress Blog Add-on Theme for WD/PHP/AJAX Website Template
This is a WordPress Weather Blog Add-on
Theme that is custom tailored to add a blog feature to a
WD/PHP/AJAX Website Template.
Space
Weather Add-on for WD/PHP/AJAX Website Template
This script will show a space weather
forecast page, Real Time Images of the Sun, and graphs of Real Time
Solar X-ray and Solar Wind. This is a Plugin Page for the USA
WD/PHP/AJAX Website Template.
Volcano Conditions Add-on for WD/PHP/AJAX Website Template
Displays the U.S. Geological Survey's
daily/weekly current conditions and observations for the given
volcano. Also displays a web cam image. This is a Plugin Page for
the USA
WD/PHP/AJAX Website Template.
Printable Flyer Add-on for WD/PHP/AJAX Website Template
I made a printable weather flyer page
to help promote my weather site to locals. The page is specially
formatted to be printed as a flier (flyer). All the pertinent
weather data should fit on one page. To see how it would look
printed, click on "print preview" in your web browser. The flier may
be freely used by local hotels, motels, restaurants, businesses, and
local government offices to pin on bulletin boards or distribute to
their patrons. This is a Plugin Page for the USA
Weather Display/PHP/AJAX Website Template.
Drop Down List Generator Plugin PHP Script
This script is designed only to be
plugin for the
TNET Weather - WD Avg/Extreme Extraction
Script This script automatically generates a drop down
HTML list of monthly weather report files on your web server.
These SCRIPTS located at
http://www.642weather.com/weather/scripts.php
_______________________________________________________________________ |