GinkoSoft CGI Script Library
All GinkoSoft hosting accounts include access to our pre-installed CGI script library. These scripts are ready to use — simply copy them to your cgi-bin directory and configure as needed. All scripts are written in Perl 5 and are freely redistributable.
Available Scripts
FormMail v1.93
The classic Matt's Script Archive FormMail, patched and secured against header injection attacks. Sends form submissions to any email address on your domain.
| Location | /home/cgi-lib/formmail.pl |
| Documentation | README.formmail.txt |
| Configuration | Edit @referers and @recipients arrays at top of script |
GuestBook v2.3.1
A simple flat-file guestbook with anti-spam measures, customizable HTML templates, and optional email notification when new entries are posted.
| Location | /home/cgi-lib/guestbook/ |
| Documentation | README.guestbook.txt |
| Configuration | Edit guestbook.cfg; set $datadir to your writable directory |
SSI Hit Counter v1.1
A lightweight text-file hit counter with digit image support. Can be embedded via SSI or called directly as a CGI script. Tracks unique visitors by IP address with configurable timeout.
| Location | /home/cgi-lib/counter.pl |
| Documentation | README.counter.txt |
| Usage | <!--#exec cgi="/cgi-bin/counter.pl"--> |
Simple Search v1.0
A basic site search engine that indexes and searches static HTML files in your web root. Returns results sorted by relevance with keyword highlighting.
| Location | /home/cgi-lib/search.pl |
| Documentation | README.search.txt |
| Configuration | Edit $basedir and $baseurl; run indexer.pl via cron nightly |
Random Image v1.2
Displays a random image from a specified directory on each page load. Useful for rotating banners, quotes, or photo galleries.
| Location | /home/cgi-lib/randimg.pl |
| Usage | <img src="/cgi-bin/randimg.pl?dir=/images/banners/"> |
Password Protector v1.4
Generates .htaccess and .htpasswd files for password-protecting directories. Web-based interface for adding and removing users.
| Location | /home/cgi-lib/htprotect/ |
| Documentation | README.htprotect.txt |
To install a script: copy it to your /public_html/cgi-bin/ directory via FTP, set permissions to 755 (chmod 755 script.pl), and edit the configuration variables at the top of the file. All scripts require Perl 5.6+. For assistance, contact support.