| ★ wanayoo — archive 1999 http://www.getscript.com/post-it.html | Nouvelle recherche | Portail wanayoo |
Site's Menu CGI Scripts Forums Free Scripts Tutorials Other Services CGI / Perl Bookstore ![]() [Click on Book] |
![]() ![]() The Post-It script is a tool for webmasters to post updates and/or messages to a page via their web browser. There are many applications for this script such as using it for a "What's New" page or as a technical notes page. The script is identical in functionality as the WWWBoard script except that it doesn't allow people to respond to the posted messages. If you can install Matt's Script WWWBoard you can install Post-It.
The Variables $basedir = "/path/to/post-it";
$baseurl = "http://your.host.xxx/post-it";
$cgi_url = "http://your.host.xxx/cgi-bin/post-it.pl";
$mesgdir = "messages";
$datafile = "data.txt";
$mesgfile = "index.html";
$ext = "html";
$title = "Post-It Message Board";
$backgrnd = "http://your.host.xxx/images/background.gif";
$bgcolor = "#FFFFFF"; # Background Color
Using The Post-It Script To post a message on your board, you just run the script from your web browser. A Post-It data entry form will appear with instructions appearing below the form. Upon completion of the form your message will be stored as an html formatted page in a messages directory. The Post-It subject file (index.html) file is where the subject lines of the messsages is displayed with the date of the post-it message. You can view our working example and then [F]ile Save [A]s the main index file and modify it to meet your needs. The ONLY requirements for the main subject file is that it contain the following tags: <UL> <!--begin--> <!--end--> </UL> You can use any of the indenting HTML tags, such as <OL>, <DL> or <UL>. When a new post-it message is created you'll see the following source coding, or similar to it, appear in the main index file. <UL> <!--begin--> <!--2--><LI>Most Recent Post-It Subject. - 11/13/97 <!--1--><LI>The First Post-It Subject. - 11/13/97 <!--end--> </UL> You don't need to create an HTML file used to post your messages. Running the post-it script will automatically bring up your data entry form. As a special note to security, you might want to place the post-it.cgi file in a protected directory on your server so that others cannot post to your Post-It board. In the above working example, use username WebAdmin and password WebBoard to access. Phone: (573) 374-2322 (CST) 9am-4pm Mon-Fri Fax: (573) 374-3089 DBasics Software Company P.O. Box 986, Sunrise Beach, MO. 65079 | |||||||||||||