Installation: ===================================================== **** DO NOT RENAME THE FOLDERS AND FILES BELOW **** 1) Create a subdirectory called "splinks" in the cgi bin, chmod to 777. Ie., http://yourdomain.com/cgi-bin/splinks Open config.cgi with a text editor and configure the script. Upload all the 3 ****.cgi files to this directory. Chmod splinks.cgi and db_reader.cgi to 755. Leave chmod value of config.cgi at default (ie., no need to change its chmod). Create a folder called "data" under the "splinks" folder you just created. Ie., http://yourdomain.com/cgi-bin/splinks/data Chmod this empty "data" folder to 777. 2) Create a directory called "splinks" under the ROOT directory ie., http://yourdomain.com/splinks/. Upload admin.htm, user.htm .... and ALL OTHER files and folders as in the ZIP file to this directory (make sure that the URL in the forms admin.htm and user.htm are pointing correctly to splinks.cgi on your server). Chmod the "images" folder to 777. Testing of script: ===================================================== a) Now point to http://yourdomain.com/splinks/user.htm and submit a new record (with a JPG or PNG image) for approval. Make sure that the image is large in both filesize and pixel dimesions - ie., larger than the limit you specified in config.cgi. *** Do not use GIF image for testing as you need to test the GD module's functionality in resizing/resample the image. GD does not work on GIFs due to CompuServe's patent issues. b) Once submitted, go to the admin interface at http://yourdomain.com/splinks/admin.htm . Enter the default password "upoint" (unless you have changed it in config.cgi) under the "Evaluate and Approve Record" form and hit the submit button. c) Now if you can see the submitted record and the attachment image, the script is working fine. Customize your header and footer: ===================================================== 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. Note: this file must have three plusses +++ where you want your search results inserted. The default template file used can be located at splinks/template/template.htm Changing the style of the search result and so on: ===================================================== You may change the font style, result layout etc by: - editing the stylesheet file "main.css" - modifying the settings in "config.cgi" - modifying the settings in "cal_config.js" (for the Javascript calendar) in EDIT mode. Calling category counter via SSI: ===================================================== You may call the category counter via SSI. Simply insert this SSI tag: * Remember to rename your webpage to *.shtml extension. * The path in the SSI tag above assumes that your webpage is located in the root directory http://yourdomain.com/yourpage.shtml . If your webpage is located at http://yourdomain.com/folder/yourpage.shtml, then the tag should be: