home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 September / PCWorld_2000-09_cd.bin / Software / Vyzkuste / cofee / CoffeeHTML85.exe / %MAINDIR% / cgi-bin / links / links.txt < prev   
Encoding:
Text File  |  2000-07-07  |  4.1 KB  |  80 lines

  1. This is the Readme.txt to help you.  The actual CGI script is the file named:
  2. 'links.pl'.
  3.  
  4. ##############################################################################
  5. # Free For All Link Page        Version 2.2                                  #
  6. # Copyright 1996 Matt Wright    mattw@worldwidemart.com                      #
  7. # Created 5/14/95               Last Modified 7/17/96                        #
  8. # Scripts Archive at:           http://www.scriptarchive.com                 #
  9. ##############################################################################
  10. # If you run into any problems while trying to configure this scripts, help
  11. # is available.  The steps you should take to get the fastest results, are:
  12. #    1) Read this file thoroughly
  13. #    2) Consult the Matt's Script Archive Frequently Asked Questions if you
  14. #    are having any problems:
  15. #        http://www.worldwidemart.com/scripts/faq/
  16. #
  17. # Hopefully we will be able to help you solve your problems.  Thank you.
  18. ##############################################################################
  19.  
  20.  
  21. This is a script built for the World Wide Web that allows users to freely
  22. add links to your page in the sections that you specify.
  23.  
  24. File included in this script:
  25.         1) links.html - The HTML File users see
  26.         2) links.pl - The guts of the operations
  27.         3) README.TXT - This file (Installation information)
  28.  
  29. To Install:
  30. a) You must have access to execute CGI scripts on your server.
  31. b) Put the links.pl file into your server's cgi-bin or rename it to links.cgi
  32.     (Whichever is required on your server).
  33. c) Put the links.html file into any dir of your choice (must be user writable)
  34. d) Shoul dbe compatible with Version 2.1, so just modify links.pl and try 
  35. it.. I am not sure though. :-)
  36.  
  37. LINKS.PL
  38. This file is the file that pulls in your links.html and makes the necessary 
  39. changes to your links.html.  It will add the url of the user's choice.  You 
  40. must chmod this file 755 and place it in your server's cgi-bin.  You may need
  41. to rename this to links.cgi if your server requires that sort of thing.
  42.         EDIT VARIABLES IN THIS FILE:
  43.                 $filename = "/server/path/to/links.html" 
  44.                         Path Location of your links.html file.
  45.                 $linksurl = "http://your.server/actual/url/of/links.html" 
  46.                         URL Location of links.html file.
  47.                 $linkscgi = "http://your.host.xxx/cgi-bin/links.pl";
  48.                         URL Location of links.pl.
  49.                 $linkstitle = "Free For All Link Page"
  50.                         Title of Your Page
  51.         $database = "/path/to/database.txt";
  52.             Path to the database file.  This is useful if you
  53.             want links to your page to automatically be added
  54.             one per line to a database (for use in Random Link
  55.             or other similar programs).  Must be chmoded to
  56.             777.
  57.  
  58. LINKS.HTML
  59. This file contains all of the links that users have added.  Users will be 
  60. automatically returned to this document.  You must place this document in a 
  61. directory with 777 file access and then chmod this file 777.  You will need to 
  62. edit the action="" part of the <form> tag so that points to your links.pl file 
  63. at your cgi-bin.  You will also want to change the bottom link so users can get 
  64. back to your home page.  You can change anything above the <form> tag also... 
  65. Just don't change the <!--XXXX--> tags unless you want to edit the script.
  66.  
  67. -------------------------------------------------------------------------
  68.  
  69. Hopefully this is enough information to get your script up and running.  If 
  70. you want more information please mail me.
  71.  
  72. I love to hear feedback and if anyone can improve on this it would be greatly 
  73. appreciated.  There is no cost to use this script and you can freely modify it 
  74. any way you wish.  All that I ask is that you possibly include my name some 
  75. where in the file (not necessarily viewable by all users) and I would like to 
  76. know the url of where it is being used so that I can see my script in action!
  77. _____________________________________________________________________________
  78. Matt Wright - mattw@worldwidemart.com - http://www.worldwidemart.com/scripts/
  79.  
  80.