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.
[more about it] |
[download it] |
[version change log] |
[FAQ]
WordPress Plugin - Fast and Secure Contact Form
Fast and 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.
[more about it] |
[download it] |
[version change log] |
[FAQ]
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.
[more about it] |
[download it] |
[version change log] |
[FAQ]
Contact Form PHP Script With Image CAPTCHA
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.
[more about it] |
[download it] |
[version change log]
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.
[more about it] |
[download it] |
[version change log]
NOAA Top Weather Advisory Alerter PHP Script
Ever want to receive severe weather alerts by cell phone, blackberry, Twitter, or email?
This PHP script is used to check the NOAA RSS Weather Alert 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.
[more about it] |
[demo] |
[download it] |
[Discuss it]
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.
[more about it] |
[demo] |
[download it] |
[Discuss it]
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.
[more about it] |
[demo] |
[download it] |
[Discuss it]
My Favorite PHP Editor
"I would like to tell you about my favorite PHP editor: Rapid PHP 2010. All of my PHP scripts are edited/coded using this fine program. I tried many different PHP editors and this was by far the one to use." - Mike Challis
Rapid PHP editor is pure, quick and very sophisticated PHP editor that extends far beyond the essentials of regular PHP editing environments. Convenient features enable you to instantly create and edit not only PHP, but also HTML, XHTML, CSS and JavaScript code, while integrated tools allow you to easily validate, reuse, navigate and format your code. Whether you are a professional developer or pure enthusiast, with Rapid PHP editor you can get your job done faster, save your time and increase productivity.
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.
[more about it] |
[download it]
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.
[more about it] |
[download it] |
[version change log]
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.
[more about it]
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.
[more about it] |
[download it] |
[version change log]
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.
more about it |
download it |
[version change log]
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.
[try it now]
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.
[try it now] |
[download it] |
[version change log]
Style Editor for Add-on for WD/PHP/AJAX Website Template
This PHP script allows you to edit the colors for a
WD/PHP/AJAX Website Template.
It generates two new CSS files, one for a narrow layout and one for a wide layout.
You can install one of the new CSS files as your main CSS, or you can install my
WD/PHP/AJAX Website Template Set - Color Theme Switcher Plugin PHP Script
and allow your users to have many styles to select from.
[try it now] |
[version change log]
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.
[more about it] |
[download it]
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.
[more about it] |
[download it]
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.
[more about it] |
[download it]
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.
[more about it] |
[download it]
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.
[more about it] |
[download it] |
[version change log]
Gratuity
Other Free Weather Downloads
Printable Long Beach, WA Weather Flier:
Free Printable Long Beach, WA Weather Flier
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.
Long Beach, WA Weather Logos:
You can add a weather logo to your website which displays the current (updated every 10 seconds) weather in Long Beach, WA.
Free Long Beach, WA Weather Logos
Other Sites With Free Weather PHP Scripts
Some of the following sites have free php scripts I have used on this site:
- Ken True at Saratoga Weather has Weather Station Scripts
- Kevin Reed at TNET Weather has TNET Weather's Script Download Pages
- Tom at carterlake.org has Weather PHP Scripts
- Larry at Anole Computer/St. James City Weather has a Weather Graphic PHP Script
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.


