Download Perl Scripts

Dictionary 101210Dictionary - $0.00 Version 101210
Add to Cart



back
subscribe
download
support
demo/see it work
RSS Feed
Dictionary
by CrookedBush.com
----------------------------->>

This script allows you to create searchable dictionaries of special terms,
and cross reference definitions within definitions.

Here's an overview of what you need to do to get this to work.

1. Open the script and change the variables as necessary.

$server_file = "definitions.txt";

This is the name of the file in which you will place the definitions.

$records_to_display = 10;

This is the number of records to display on each page.

$datapath = "/data1/hypermart.net/notationmachine/cgi-bin/";

This is the directory (not a URL) to your dictionary file.

$html_page = "/dictionary.htm";

This is the page in which you will place the server side include (SSI).

2. Make a dictioary file. It should look like this:

Term&Definition.
Other Term&Other Definition with a reference to #[# term #]# .

Basically, each line is a definition. First type the word to be
defined, then an '&' sign, then the definition. If you come across a
word in a definition that you want to be a hyperlink to another
definition, place those funny looking #[# signs #]# around the word with
spaces included like the example.

3. Upload the two files to the cgi-bin.

4. Now open the dictionary.htm file. Make it look like your site, but
where the search box should go, place the following SSI command:

<!--#exec cgi="/cgi-bin/definitions.pl"-->


Please let me know if you have ANY problems because this script is still in
development. Please register to enable me to offer updates and new
features.

Yours,
Jason Silver

_____________________
www.CrookedBush.com
creative web solutions


 
top next subscribe download faq demo/see it work purchase xml pad file RSS Syndication OPML List - All Programs



[admin]

FileCABINET Script - Create a File Download section on your site.

In the Spotlight

SongSupport $1.50
Add to Cart
 This song voting script helps music directors to make the song selection process more democratic.
[more & download links]

What People Say

Free-Busy Folder $0
Add to Cart I like FreeBusy. We've set it up for our staff on our local server, and it works great. Great script!
John Hardford
[more & download links]

Post Page Comment