#!/usr/bin/perl # Support Center # Provided By CGI Connection # http://www.CGIConnection.com $| = 1; use Socket; srand(); # Directory to store all messages # Eg. /path/to/your/web/server # CHMOD to 777 #$save_dir = "!SAVEDIR!"; $save_dir = "./supportlogs/"; # SMTP server (usually set to localhost or leave blank) #$SMTP_SERVER = "!SMTP!"; $SMTP_SERVER = localhost; # Username to login to administration section #$username = "!USERNAME!"; $username = "mike"; # Password to login to administration section #$password = "!PASSWORD!"; $password = "letmesee"; # Entire URL to your support.cgi script # Eg. http://www.yourserver.com/cgi-bin/support.cgi #$cgi_url = "http://!SCRIPTURL!"; $cgi_url = "http://lusoft.com/support/supporter.cgi"; # Size / Color of text message box for user and admin to type in $background = "CCCCCC"; $cols = 40; $rows = 5; # E-mail notification options # 0 = no e-mail notification / 1 = only send to admin / 2 = only send to user / 3 = send to both $mode = 3; # Subject line to send user and admin: \$subject variable gets replaced with actual subject of message $subject_user = "Confirmation: \$subject"; $subject_admin = "LuSoft Online Support Request: \$subject"; # Admin e-mail address that will receive support requests # Don't forget to escape the @ sign by using a backslash before it. # Eg. your\@address.com #$to_address = "!EMAIL!"; $to_address ="support\@lusoft.com"; # Admin's real name $to_name = "Support"; # Should Admin's e-mail be shown on user's web browser? 0 = NO / 1 = YES $to_show = 0; # Message to send user confirmation receipt of their request $message_user = "
This is an automated response to your support request.