#!/usr/bin/perl # Change LINE 1 to point to your server's Perl5. # Variables used by all scripts: /Web_store/ws_global.setup # Variables specific to ws_400CS.cgi: /Databases/outlet.setup # File Permissions: 755 -rwxr-xr-x # NOTE: If you change the filename "outlet.setup", change the value # of $default_setup_file below to reflect the file's new name. ############################################################################ # ws400CS.cgi - VERSION: 4.14.02 CS - Frames Support # ############################################################################ # Copyright (c) 1996 - 2001, RDC Software # Full copyright notice can be found in the following files for the # listed license type: # Single User License: /Docs/Copyright_SingleUser.html # Server License: /Docs/Copyright_Server.html # Created: 07/30/96 Last Modified: 05/13/2001 # WebStore@cgiCentral.net http://www.cgiCentral.net # RDC Software, Route 3, Box 29B, Grapeland, TX 75844, USA # This copyright notification can not be altered or removed from this file. #==========================================================================# # ws400CS.cgi is a perl script for UNIX systems which allows # you to sell merchandise over the Internet via web browsers. # If your domain has a specific directory configured for perl scripts, such # as cgi-bin, place all .cgi files and ws_global.setup in the cgi-bin # directory, otherwise, the .cgi files and ws_global.setup may be left in # the /Web_store directory or placed in a directory of your choosing. # The /Web_store directory and all sub-directories must be placed in a # directory which can parse HTML files and output graphic files to the # http daemon. # The directory which is accessed with the URL http://www.YourDomain.xxx # or any sub-directory under this directory is normally the correct location # for the /Web_store directory structure. # Perl scripts can not be placed in any directory assigned to MS Frontpage. #==========================================================================# # BUTTOM IMAGE TYPES IN WEBSTORE # # For details on in WebStore (and where to place them), # # SEARCH FOR: **Buttom Images in WebStore** ############################################################################ # DEFINE VARIABLES # $default_setup_file is the setup file used if the URL pointing to # ws400CS.cgi does not contain a name=value pair for 'store' in the # query string: ws400CS.cgi?store=outlet $default_setup_file = 'outlet.setup'; # If you change the filename of the global setup file, # change: 'ws_global.setup' &file_status(__FILE__, __LINE__, 'req', './ws_global.setup'); # $main_script_url is the absolute NON SECURE URL for ws400CS.cgi. # This script uses $main_script_url for all processes until the # client goes to the order form. # If the client's web browser is not capable of SSL transmissions, # $main_script_url is used to construct the