![]() |
|
|
|
|
|
Using the LlamaCom CGI Scripts
[ Counter | Form Mail | Search | Guestbook ] This page will be updated as new scripts are added. Please email us if you have any questions. Hit counter The hit counter will put a nice looking hit count on your page. Use the control panel and select the "counter" option. Just pick a name for the counter, select one of the digit styles, and your counter will be created. You will then be given some HTML to place in your page. If you find other digits you like, or design your own, email us and they can be added here. Digit Mania is a great place to find other digits. Form Mail The form mail script will let you create forms that email the results to you. Here is a simple example:
Email me!<BR>
The set of hidden inputs at the top specify where the email should go, the subject, and a URL to be shown after the email is sent. The "required" input specifies fields that must be filled out before the mail can be sent. Any other input will be put into the text of the email. You can create any number of form fields, and they will also be put in the email. More documentation is available. Search The search script will search all of the .html files on your site. You first must create a search form, an example is the LlamaCom search form. Go there and use "view source" on your browser to see how the form is laid out. Here is the form from the LlamaCom search page:
<FORM METHOD=POST ACTION="http://www.llamacom.com/cgi-bin/search.cgi">
You can basically copy the LlamaCom search page, and modify the values of the "hidden" inputs as follows: title: The title of the search results page search: The URL back to your search page basedir: The directory where you want to begin searching, usually /home/username/public_html/baseurl: The url that matches the directory, usually http://www.llamacom.com/~username/ or your domain, with a trailing slash.textcolor: The color of the text on your results page bgcolor: The background color on your results page linkcolor: The link color on your background page All of these values must be set in order for the search to work. The AND/OR and Insensitive/Sensitive sections of your form are case sensitive. Make sure you copy that exactly as shown. Guestbook To setup your guestbook use the control panel. The files guestbook.cgi, guestheader.html, guestfooter.html, and guestadded.html will be copied into your public_html directory. You can use your guestbook as-is by going to www.yourdomain.com/guestbook.cgi. You can also modify the html files any way you like. Return All text and original images copyright (C) 1998, 1999, 2005 Llama Communications call (877) 552-6220 |
|