#You MUST modify each of the variables in this this section #B1. REQUIRED: The location of the data file on your server. This must #be the PATH to your data file, not the URL of your data file! $data="x-datafile.txt"; #B1b. REQUIRED: The location of your temporary data file on your server. #Must be the PATH to your temporary data data file, not the URL. Use a file #extension other than .tmp to avoid possible conflicts within script $tempdata="x-tempfile.txt"; #B2. REQUIRED: The URL of this script file in your cgi-bin directory. #You can provide the full URL, beginning with http:// (or, you can #simply use the filename, i.e. "database.cgi") $thisurl="upevent.cgi"; #Change password to any combination of letters (A-Z, a-z) and #numbers 0-1. USE ONLY LETTERS AND NUMBERS $adminpassword="upoint"; #B5. URL to send users to after posting, editing, or getting errors. #This is usually the main page for this section of your site $forwardingURL="http://upoint.info/cgi/demo/eventpub"; #B32. Please provide the path to the directory where #your upload images will go. Depending on server configuration, #you may need to chmod 777 this directory, to make it writeable. #The path you are providing below should end with a forwardslash. #This feature is inherently INSECURE and opens a wide range of #SECURITY issues, many of them very serious. You are highly encouraged #to direct all uploads to a nonpublic directory and then move them #to a public directory only after you have evaluated the files. #Use at your own risk. This feature may not be compatible with #your server. NEVER ALLOW UPLOADS INTO (or subdirectory of) #YOUR CGI-BIN DIRECTORY! # #Please note that you are providing a FULL PATH (end with a slash). #A URL will not work here. $Imageuploadpath="/home/publish/public_html/cgi/demo/eventpub/upevent/images/"; #B33. FULL URL (not PATH) to the "icons" folder $Iconpath="http://upoint.info/cgi/demo/eventpub/icons/"; #B33. Please provide the URL to the directory where your #your uploaded images will be located. Note that this must be a #full URL beginning with http:// for the directory only! Forwardslash #at end of the URL is required $ImageuploadURL="http://upoint.info/cgi/demo/eventpub/upevent/images/"; #B34. Please specify the largest file for the image upload #that you are willing to permit. This value is in KB, so use numbers #like 50 for 50KB. Never set the number above 100 $Imagemaxz="1000"; #B35. Do you want to allow images to be changed while in edit #mode? Select Y for Yes or N for No $allowimageuploadonedit="Y"; #B36. Do you want to delete the images when you delete the #corresponding record. Select Y for Yes or N for No $deleteonimagerecorddelete="Y"; #B36. Please provide the full or relative path to your counter #file for the RecordID field. You must provide full path and file #information. You should give the file a .txt extension $counterfile="x-counterfile.txt"; #B38a.When an image is being uploaded, it will be resampled/resized. #Define the maximum height and width, in pixels. $max_height=450; $max_width=450; #B38b. Height and width of thumbnail (automatically generated) $height=55; $width=55; #B38c.The script specified below will thumbnailized the image in A1. above. $url_of_thumber="http://upoint.info/cgi/demo/eventpub/upevent/thumbnail.cgi"; ##B39a. Enter the location of sendmail. $mailprogram = "/usr/sbin/sendmail -t"; #B39b. Your email address (with a backslash before the @). $youremail = "admin\@upoint.info"; #B40. Your website title $sitetitle = "Your Website Title"; #B41. Your website URL $siteURL = "www.yourdomain.com"; #F1. Title font HTML codes. Leave it empty if you are using CSS to #format the font under . $titlefont = ""; #F2. Description font HTML codes. Leave it empty if you are using CSS to #format the font under . $descriptionfont = ""; #F2. Public Remarks font HTML codes. Leave it empty if you are using CSS to #format the font under . $pubremarksfont = ""; #F3a. Title cell background color $titlebgcolor = "#FFF2E1"; #F3b. Lower section (venue, time, email address etc.) cell background color. $cellbgcolor = "#EEF1DD"; #F4. The number of characters displayed in the Description field #before it is truncated. $max_letters = "300"; #E1. Maximum number of records to display $maximumpage=10;