###################################################################### # # Dream Catchers CGI Scripts Feel free to modify # Post It! this script to your # Created by Seth Leonard needs, but please # for Dream Catchers Technologies, Inc. keep this portion so # that I get credit. # http://dreamcatchersweb.com/scripts The same goes for # distribution. # # (c)1996/1997 Dream Catchers Technologies, Inc., # All Rights Reserved # ###################################################################### Dream Catchers Technologies, Inc. provides this script free of charge. However, if you do use this script, a $1.00 donation is appreciated to help support this free resource. Please send $1.00 to: Dream Catchers Technologies, Inc. P.O. Box 8600 Kirkland, WA 90834 (make payments payable to Dream Catchers Technologies, Inc.) Step by step instructions for Post It! CONTENTS: post.cgi - the cgi script which operates your posting program readme - this file postit.htm - a sample html fill out form to post from postings.htm - an html file which will hold your postings Follow these easy steps: 1. Contact your server. Ask them to create a cgi-bin directory for you. Also ask them how one can access a file in that directory from WWW. Usually this is "http://www.server.com/you/cgi-bin/". 2. If you have telnet access to your server, log onto your server. At the command prompt, type "which perl". Write down the line given to you. Usually this is /usr/local/bin/perl. Next, type "which sendmail". Write down the line given to you. Usually this is /usr/bin/sendmail. If there is not sendmail program, type "which mail" and use this instead. Next, type "which date". Write down the line given to you. Usually this is /bin/date. If you do not have telnet access, ask your server where the perl, mail, and date programs reside. 3. Using your favorite text editor, open the post.cgi file included in the files you downloaded from the Dream Catchers CGI Scripts page. 4. The first line of post.cgi has the line: #!/usr/local/bin/perl If the line you recieved from your server when you typed "which perl" is different, replace the one there. Keep the #! and don't change anything if it is the same one you were given. 5. Find the section that says "ONLY EDIT THIS PART OF THE SCRIPT" and change the vaiables so that the match your home directory. NOTE: The values already placed there are examples!! These are the common formats for how servers set up directories. You need to fill in your own values! DO NOT DELETE THE CHARACTERS OUTSIDE OF THE VALUES: ' " ; For example, postpage is the url for your guestbook, so: $postpage = "http://www.something.com/~you/postings.htm"; would change to: $postpage = "http://www.microsoft.com/~bill_gates/postings.htm"; Change the values of: $postpage = the url of your page where the postings will be viewable $postname = the title of that page $postpath = the actual path through your home directory to that page $cgilocation = the url of the post.cgi file $mailprog = the name of the program that you received when you asked "which mail". $youmail = your email address $getdate = the name of the program that you received when you asked "which date". 6. You are done changing this file. Save the file as post.cgi. 7. Open the post_it.htm file that came with the files you downloaded off of Dream Catchers CGI Scripts Page. Change the line: