This is a web based calendar program. It displays a nicely formatted, easy to read calendar on a web page, driven by a simple text file containing the calendar events. Also, take a look at the following links:
Live Sample Calendar
This script displays a random image and logs the fact that the image was displayed. I use it to track the display of sponsor ads. Then I use the log file for billing.
This script tracks click-throughs on images (or text links). It is ideal for tracking how many times your sponsor's ad is clicked on. The script can be referenced from the above smcAdShow.pl script to provide complete logging functionality for impressions and click-throughs.
This is a simple text counter with file locking. Each HTML file that calls this script will have its own corresponding file to store the counter value.
This script will display the current date and time in any time zone in the world. It is already preconfigured to use most time zones in the United States; but it can be easily modified to use any zone you want. And, yes, it handles daylight savings time. Here's smcDate.sh in action:
In De Pere, Wisconsin it is Wed 01-Apr-2020 at 06:25:15.
This script is used to display friendly web server error messages to your visitors. For example, if a visitor goes to an invalid URL, you can give them a nice error message (with your logo) instead of the usual "404 Not Found" message. This is also helpful if you just moved a bunch of files around on your web site, making many old URLs invalid. If a user uses a bookmark to go to an old URL, they can get a custom message from you advising them that you've just re-designed your site and to click a link to go to the front page.
This script allows you to navigate through your image directories using your favorite browser. It actually displays each GIF and JPG file and is especially suited for sites with multiple image subdirectories.
If you have a webcam, this script allows you to display one message on your web page if your webcam is currently live, and another message if your webcam is currently turned off.
"Pull Your Page Out" is a web site navigation tool that allows you to browse throughout the back alleys of your site using your favorite web browser. You move through complete listings of each of your directories. When you click on an HTML file, you view the source of the file (not the formatted web page). When you click on the name of a CGI script, you view the source of the script! Even if it's in your cgi-bin directory. You can even navigate in and out of secured directories (.htaccess) without having to enter a password.
This script is intended for use by the owner of a web site. Just put it into a passworded directory and start browsing. Be sure to verify the user-definable variables at the beginning of the script.
This script accepts a filename via QUERY_STRING and returns a random line from that file.
This is a web search utility that searches live HTML files (no index) and provides a nice customizable search results page. Full support of the <META DESC=""> tag is also provided.
1. Download the file and put it in your web directory.
2. Untar it: tar xvf smcSearch.tar
3. Customize the search.config file to your liking.
4. Do your first search from the html template page provided.
You can continue to use the provided HTML page or you can incorporate the search form in your own page. Since this utility searches live HTML pages, there is never any need to build an index, however, it can be somewhat slow on larger websites.
This is a script that provides a CGI interface to the SWISH search utility. You may need to tweek some variables just a little depending on how you want the SWISH command to perform.
This is a Perl library written by Shishir Gundavaram and included in his book CGI Programming on the World Wide Web, published by O'Reilly and Associates. I make it available for download here because it contains a handy subroutine that puts data from an HTML form submission into a hash for easy access.