A Division of CGS Infotech Ltd
www.cgsinfotechltd.com



Basics
Troubleshooting Common Problems with FrontPage 2000
FTP
CGI-BIN
Troubleshooting CGI Problems
Pre-Installed CGI Script
Addons
Wusage
Real Audio/Video
Majordomo
Quick Search :
                Get there fast
 
 
Pre Installed CGI Script?
   
   
1. What is guestbook?
2. Single Page Shopping Cart?
3. Various Page Counters
4. Directory Scan (/www/user/dirscan)
   
   
   
   
   
   
   
   
1. What is guestbook?
 

A guestbook is a forum for your visitors to leave your comments, ideas, or just kudos. You're the Guestbook is hosted on our servers, so you simply include the link in your web page and our servers do the rest.

 

Guestbook allows you to set up your own comment page. From there, visitors can add entries to your guestbook and they will be displayed with the most recent at the top and scrolling down, or vice versa. Other options include the ability to limit HTML in the entry, link to e-mail address with mailto tag, use a log to log entries, redirect to a different page after signing, emailing whenever a new entry is added, and much more.

 

Guestbook is already set up for use on your server. You can simply use the following URL to access it: http://yourdomain.com/Guestbook/guestbook.html

 
   
2. Single Page Shopping Cart?
 

There should be a Single Page Shopping Cart program installed on your server. You can see what it looks like by going to this URL with your browser:

 

http://www.yourdomain.com/shop/boutique.html

 

If you want to customize the shopping cart, (and you will if you want to sell products using this program), you can visit:

  http://virtualpublisher.com/
 

The Virtual Publisher Shopping Cart program is sophisticated and complex. Rather than reprint all their directions here, please go to their website and download the help files associated with it.

 

If the Single Page Shopping Cart program wasn't installed on your server and you want it, please send us email and we'll make sure it's installed right away!

 

UP.
   
3. Various Page Counters
 

There are 3 different types of page counters you can place on your pages. The first is a no-frills graphical counter which looks like this:

 

To use this one, put the following tag somewhere on your page, but change the yourpage.htm to be the address of the actual page you are putting this counter on. Also, don't break up the tag like we did. We had to do that to fit it on the page. The width=5 part refers to how many digits you want in your counter.
<IMG SRC="/cgi-bin/nph-ount?width=5&link=http://yourdomain/yourpage.htm">

 

Graphical counter: A simple counter called using "img" tag. You can edit the count on any page by going to the counter directory off of your main www and changing the number in the txt file of the page you would like to correct.

  http://yourdomain.com/counter
 

Finally, the simplest kind of page counter is a text-based counter. It uses SSI so the page you are putting it on must have the .sht, .shtm, or .shtml extension. It will look like whatever text and size attributes you give it on your page. The tag looks like this:
<!--#exec cgi="/cgi-yourdomain/counters/counter.cgi"-->

 

After you've put the counter on your page, look at it with your browser. If you don't see the counter the first time, hit reload. Then you should see the number 1. If you want to change the page counts, FTP to your site, and look in the counter directory in your cgi-bin. There will be a file there with the name of whatever page you placed this counter on. Just upload a new text files with a new number on it, and that will be the new count on the page next time you hit reload. Remember to upload the file in ASCII or text format.

 
   
4. Directory Scan (/www/user/dirscan)
 

The search engine receives the input from the CGI form and processes the required files in order to find the search terms.
The list of files is found in /www/user/dirscan/fileinfo.txt. The script would not work if it doesn't get the valid list of files. For compiling the list of files to process use the dirscan.pl utility (so you're actually getting two separate projects, disrcan.pl can be used separately for creating a valid list of your files on the disk).
Add the following html code to the page directly in your /www that you want the search button on. Note: be sure to change hostingsupport.com to your domain.

 

<FORM name=search action="dirscan/find.cgi" method="post"> <b>Search my Homepage:</b><br> <INPUT maxLength=128 size=40 name=string> <INPUT type=submit value="hostingsupport.com" name=Submit>

 
About Us Web Hosting Plans Support - Tutorials. Control Panel Demo Contact Us Reseller Program
WEB-SERVICES PROVIDED BY CYBERWEB  GLOBAL SERVICES- A  PART OF TRADE ISHA  NETWORK