############################################################################## # Cliff's Pic-Post Script Version 4.08 # # Copyright 1998 Shaven Ferret Productions # # Created 6/21/98 Last Modified 09/28/99 # # Available at http://www.shavenferret.com/scripts # ############################################################################## # COPYRIGHT NOTICE # # Copyright 1998 Shaven Ferret Productions All Rights Reserved. # # # # This script can be used\modified free of charge as long as you don't # # change this header, or the parts of this script that generate the return # # link\form. If you really need to remove these, go to # # http://www.shavenferret.com/scripts/register.shtml . By using this script # # you agree to indemnify me from any liability that might arise from its use.# # # # Redistributing\selling the code for this program without prior written # # consent is expressly forbidden. # ############################################################################## sub getconfig { ############################################################################## # Define the following variable... #################################################################### # What password do you want to use? Do *NOT* leave this as shavenferret.com $password = "shavenferret.com"; # Set the next variable to the path of the main Pic-Post page. $mainpath = "/server/path/to/picpost.shtml"; # Set the next variable to the URL of the main Pic-Post page. $mainurl = "http://www.yourdomain.com/picpost.shtml"; # Set the next variable to the path of the directory where you will keep the # html files for posted images. Do not include a trailing slash. $postdir = "/server/path/to/posts"; # Set the next variable to the URL of the directory where you will keep the # html files for posted images. Do not include a trailing slash. $posturl = "http://www.yourdomain.com/posts"; # Set the next variable to the path of the directory where you will keep the # data files. Do not include a trailing slash. $datadir = "/server/path/to/data"; # Set the next variable to the full URL of the uploaded picpost.cgi file. $scripturl = "http://www.yourdomain.com/cgi-bin/picpost.cgi"; # Set the next variable to the URL of the uploaded admin.cgi file. $adminurl = "http://www.yourdomain.com/cgi-bin/admin.cgi"; # Set the next variable to the full URL of the uploaded ppcount.cgi file. $counturl = "http://www.yourdomain.com/cgi-bin/ppcount.cgi"; # Enter the location of your mail program. $mailprogram = "/usr/lib/sendmail"; # If you have libwww-perl on your system, remove the # in the next line. #use LWP::Simple; $lwp = -1; ############################################################################## # Congratulations! You've finished defining the variables. If you want to, # # you can continue screwing with the script, but it isn't necessary. # ############################################################################## } -1;