>>> for NT, Unix, or Win 9X


Files in this package.

All script files go in your sites cgi-bin/bizdirectory


Installation

Follow the directory structure in the .zip file (except cgi-bin)
Upload all the files in the same structure to your server. Upload the program files (.pl .pm) to cgi-bin/bizdirectory .
Be sure to keep working copies of all program files as a backup. Sample data and user images are included with the program for testing.

  1. Upload pathtest.pl to your cgi-bin - ASCII mode!!
  2. With your Browser run pathtest.pl to determine the path to the cgi-bin
    Make a note of the path we'll use it when settting up the config file.
  3. Make a folder called bizdirectory under your cgi-bin - /cgi-bin/bizdirectory
  4. Make a folder called data under the /cgi-bin/bizdirectory/data
  5. Chmod data to 777 (unix only)
  6. Upload category.list and data.txt to the /cgi-bin/bizdirectory/data directory
  7. Chmod category.list and data.txt to 666 (unix only)
  8. Upload all the program files (.pl .pm) to your /cgi-bin/bizdirectory (ASCII mode)
    For unix chmod all program files to 755

  9. Make a folder called bizdirectory under your parent folder (home directory)
  10. Make a folder called coupons under the main folder bizdirectory
  11. Chmod coupons to 777 (unix only)
  12. Make a folder called images under the main folder bizdirectory
  13. Make a folder called userimages under the main folder bizdirectory
  14. Chmod userimages to 777 (unix only)
  15. Make a folder called admin under the main folder bizdirectory

  16. Configure all the variables and options in the biz-dir-setup.pl
    For help with configuration, an FAQ is available at: http://rlaj.com/scripts/faq/.



The bizdirectory is completely cgi driven there are no HTML pages except the page top and page bottom that is used for all screens the user sees. The exception is the coupon.


index.redir

If you want to use the 3 column list for your opening page, use the index.redir. This file will redirect the user to the biz-dir-index.pl - the script will print the page_top.html, create a 3 column list of all categories, then print the page_bottom.html. If you are using this file, rename it to index.html and place it in your main directory (bizdirectory/index.html)


Controling the look of your pages.

The file page_top.html is used to control the look of all the screens the user sees. The program will open this file and use it for the top section for all cgi pages.

The page_bottom.html is used for the bottom of all program pages.

The colors for the directory pages is controled with the biz-dir-setup.pl the configuration file for all the cgi's. Edit the configuration carefully. I suggest you edit the file changing one thing at a time. This way if you get an error, you will know where it is.


Operation

Each time the program runs:
user clicks on a category link or selects from the dropdown list

  1. the file page_top.html is opened and printed to the screen
  2. the data for the category the user chose is printed to the screen (biz-directory.pl)
  3. the page_bottom.html is opened and printed to the screen, completeing the page.
See the /admin/index.html page for all administration programs.