#STEP B================================ #You MUST modify each of the variables in this this section # TO MAKE A FIELD FROM "REQUIRED" TO "OPTIONAL" (DURING DATA ENTERING), # PLEASE GO TO SECTION R4 AND FOLLOW THE INSTRUCTION THERE. #B1. REQUIRED: The location of data file on your server. This must #be the PATH to your data file, not the URL of your data file! This file #will be automatically created when first data is added. Remember to chmod #the FOLDER for this data file to 777. $data="/usr/updn/www/myscripts/myprofile/data.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. This #file is automatically created. The folder must be chmod to 777. $tempdata="/usr/updn/www/myscripts/myprofile/data.temporary"; #B2. REQUIRED: The URL of this file in your cgi-bin directory. You must #provide the full URL, beginning with http. Rememeber to chmod this script #to 755. $thisurl="http://www.upoint.net/cgi-bin/myprofile/myprofile.cgi"; #B3. OPTIONAL: You can format the opening and closing HTML #of your results page in a separate file that can be written in #regular HTML and saved on your server. If your script can't #find this file and open it, the default result screen is displayed #instead. For ease of configuration, place it in the same directory #as your data file. Note: this file must have three plusses +++ #where you want your search results inserted. $openinghtml="/usr/updn/www/myscripts/myprofile/template.htm"; #B4. REQUIRED TO ADD, DELETE, OR MODIFY. See #important information in the help files about adding additional #Security features to your script. #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 or you #may change it to your search form. $forwardingURL="http://www.upoint.net/cgi-bin/myprofile/myprofile.cgi"; ##B29. Enter the location of sendmail. $mailprogram = "/usr/lib/sendmail -t"; #B30. Your email address (with a backslash before the @). $youremail = "mail\@upoint.net"; #B31. Your website title $sitetitle = "UPOINT's Pesonal Memoranda"; #B32. Your website URL $siteURL = "www.upoint.net"; #B58. Please provide the path to the directory where #your upload images will go. You need to make sure that you #chmod 766 this directory, to make it writeable by your script. #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. Remember to chmod this folder to 777. $Imageuploadpath="/usr/updn/www/myscripts/myprofile/uploadimages/"; #B59a. 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. Remember to chmod this folder to 777. $ImageuploadURL="http://www.upoint.net/myscripts/myprofile/uploadimages/"; #59b. Dimension of the uploaded image (in pixel). To allow free size (not #recommended), search for $imagewidth and $imageheight and delete the tags #accordingly. $imagewidth = "120"; $imageheight = "120"; #B60. 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="20"; #B60. Please provide the full path to your counter file #for the Autoincrement field. You must provide full path and file #information. You should give the file a .txt extension. This file #will be automatically created. Remember to chmod the FOLDER of this #file to 777. $counterfile="/usr/updn/www/myscripts/myprofile/counter.txt";