SmartFAQ version 2.0
====================
by Jimmy (wordx@hotmail.com) for SmartCGIs.com

Setup:
=====

1. Open vars.cgi and follow the instructions to customize the script.

2. Make sure the path to perl is correct at the top of all CGIs. ( eg. #!/usr/bin/perl )

3. Upload all CGIs and set the file permissions to CHMOD 755.

4. Customize the html in header.html and footer.html for your site.


How to use:
==========

-Run faqadmin.cgi and start by creating a subject, then you can add questions and answers.

-Send your visitors to smartfaq.cgi to view all subjects, or link directly 
 to a specific subject (URL shown on admin page).

-Execute random.cgi in an SSI tag to display a random FAQ question. You can display it with 
 javascript instead of SSI if you want, just use a tag like this:

 <script src="http://domain.com/random.cgi?java=1"></script>

 If you want to display the answer too, then use:

 <script src="http://domain.com/random.cgi?answer=yes&java=1"></script>

 If you want to display the answer with an SSI tag, you should open random.cgi and change 
 the default value of answer (near the top) to "yes".


-That's all! As soon as you add/edit/delete anything in the admin page it will take 
 effect to the FAQ pages your visitors see.


Other
=====

If you make any add-on scripts (mods) for SmartFAQ we'd be happy to hear about it and link 
to it on SmartCGIs.com

E-mail: webmaster@smartcgis.com
