#!/usr/bin/perl ############################################################################## # Post survey data # # Copyright 2003 Drago Consulting Inc # ############################################################################## # COPYRIGHT NOTICE # # Copyright 2003 Drago Consulting Inc All Rights Reserved. # # Marketing Masters is granted permission to use and distribute this # # software as they desire for profit or not. # # # # postapplication may be used and modified free of charge by anyone so long # # as this copyright notice and the comments above remain intact. By using # # this code you agree to indemnify Drago Consulting Inc from any liability # # that might arise from its use. # # # # Selling the code for this program without prior written consent is # # expressly forbidden. In other words, please ask first before you try and # # make money off of my program. # # # # Obtain permission before redistributing this software over the Internet or # # in any other medium. In all cases copyright and header must remain intact.# # # # This CGI Script file will send a .htm or .jdb survey to # # the browser. # # For UNIX or Windows: # # http://www.myserver.com/ssvws.pl?file.htm # # # # Note: FILE NAME (ssweb.pl) is case sensitive for UNIX based web servers. # # # # # ############################################################################## # Revision history # # $Log: ssvws.pl,v $ # Revision 1.2 2003/11/05 21:03:37 cvs # Initial coding complete # # Revision 1.1 2003/11/03 22:01:02 cvs # Initial addition to CVS # # # Define Variables # print "Start\n"; # # This is for debugging purposes. It runs in an infinite loop until # you can start up a debugger, attach to the process, and set your # break points. Then set the variable to 'stop' to zero (0). The application # then proceeds to the set breakpoint. # #$stop = 1; #while ($stop){}; ############################################################################## # Important directory path information that you may be required to set for # # your specific web server environment. This is the only setting you need # # to make for this module. The variable $CurrentWorkingDirectory will have # # the proper value if your web server is set up to recognize the directory # # the ssweb is placed in. In this case you do not need to make any changes # # HOWEVER # # If your web server has not been set up to recognize this cgi path, then # # you must supply it. If this is the case, comment out the line that reads: # # # # $CurrentWorkingDirectory = "./"; (put a # in front of it) # # # # and # # # # remove the # from the line the reads: # # # # #$CurrentWorkingDirectory = "/var/www/cgi-bin/"; (supply your path) # # # ############################################################################## $CurrentWorkingDirectory = "./"; # #$CurrentWorkingDirectory = "C:/INETPUB/Scripts/"; # #$CurrentWorkingDirectory = "/var/www/cgi-bin/"; # # # $major_version = "5"; $minor_version = "1"; $VersionFormat = ""; $VersionFormat .= "
Marketing Masters "; $VersionFormat .= "Copyright 2004, All rights reserved "; $VersionFormat .= "Module: %s Version: %d.%d"; $VersionFormat .= " |
Marketing Masters "; $UnknownFormat .= "Copyright 2004, All rights reserved "; $UnknownFormat .= "You have made a request to Module: %s that is unknown The request sent "; $UnknownFormat .= "was : %s |