######### CONFIGURATION STARTS HERE ############################ # FULL PATH (not URL) to the data file: # You must upload this file and chmod it to 777. # It is recommended that you place this file above your root directory so # that it is not viewable via a browser. Security is needed for this file # as Master admin password and sub user passwords are stored here. If this # file is located in the cgi bin and that your cgi bin is properly configured, # nobody should be able to view this file via a browser. $dat_file="/home/username/www/cgi-bin/tabledata.dat"; # FULL PATH (not URL) to the folder where tables' datafiles created by # Table Publisher are stored (with ending slash): $tables_folder="/home/username/www/tablepublisher/"; # FULL URL (not PATH) to this script: $path_to_script="http://www.upoint.net/cgi-bin/tablepublisher.cgi"; # FULL PATH (not URL) to the template file: # Ie., full path to the file to which you want to print the table contents. # Create the template HTML page with the layout you want and three pluses +++ # where you want your search results inserted. $template="/home/username/www/tablepublisher/template.htm"; # FULL PATH (not URL) to the counter file that gives tables unique table IDs: $count_file="/home/username/www/cgi-bin/tablecounter.txt"; # Master admin password. With this password, administrator can have full control # access to all tables created by himself or other assigned users: $admin_password="secret"; # Turn it to "on" if you want to automatically highlight the first row of every # table which is normally used as the description row. # Leave it as "off" if you want to enter basic HTML codes (such as ... , # ... and so on) in the cells to make the contents # appear highlighted: $highlight_first_row = "off"; # Double-quotation marks ( " ) bracketing. # When it is "on" (default): # ... it causes cells' data to be automatically bracketed with double-quotation # marks IF those cells contain comma(s). Also, all double-quotation marks # in the cells' contents are automatically REMOVED to prevent conflicts # with Microsoft Excel or Access. # # When it is "off": # ... no automatic double-quotation marks bracketing is performed. Data is stored # as it is. Auto-removal of double-quotation marks in the cells' contents # are NOT performed. # # ... Leave it as "on" (default) if you are using this script to create and display # new tables. # # ... Leave it as "on" (default) if you are creating tables by importing data from # Microsoft Excel or Access. # ... Leave it as "on" (default) if you prepare to export the datafiles to Microsoft # Excel or Access. # # ... Change this variable to "off" if you are using this script to edit existing # datafiles used by other CGI scripts. $microsoft = on; # Global text boxes size (ie., the text boxes for cells in tables): $textboxsize = "15"; # Configure table output properties: $tablewidth = "95%"; $cellspacing = "2"; $cellpadding = "2"; $border = "0"; $font = "Verdana, arial"; $fontsize = "2"; $tablealign = "center"; $cellalign = "top"; $cellbgcolor = "#DDEDFD"; $bgcolor = "#FFF2E1"; # Color scheme for the admin interface of this script: $co1="#E6E6FF"; # (default: #E6E6FF) $co2="#A4A4FF"; ## (default: #A4A4FF) $co3="#000000"; ### (default: #000000) $co4="#0000EC"; ##### (default: #0000EC) ######## CONFIGURATION ENDS HERE #### DO NOT EDIT BELOW THIS LINE ############