home *** CD-ROM | disk | FTP | other *** search
/ Creative Review 35 / Creative-Review-CD-ROM-35.iso / mac / MANPER / CGI / SETUP.PL < prev    next >
Text File  |  1997-08-21  |  3KB  |  75 lines

  1. # On the line below please enter in quotation marks absolute
  2. # path to directory on your server where you will keep your database files,
  3. # and add semocolumn.
  4. # Please, note if you are using virtual server absolute paths 
  5. # may/will likely be different with the paths from your main (your "root")
  6. # directory. Please, ask your provider what absolute paths you should use.
  7. # You can also telnet to your account and on the command line type:
  8. # pwd<enter>
  9.  
  10. # The output will tell you absolute path to the directory you are in.
  11.  
  12. # Example:
  13. # $root="/mnt/web/guide/ahg/newengine";
  14.  
  15. $root="/home/opera/www/search";
  16.  
  17. # On the line below please enter in quotation marks URL to your cgi-bin directory
  18. # and add semicolumn. When done, it should look like this: 
  19. # $cgi="http://www.ahg.com/cgi-bin";
  20.  
  21. $cgi="http://www.operagroup.co.uk/cgi";
  22.  
  23. # On the line below enter record separator for your database.
  24. # Example:
  25. # $r_sep="\n";
  26. # record separator is a newline character;
  27.  
  28. $r_sep="\n";
  29.  
  30. # On the line below enter field separator for your database.
  31. # Example:
  32. # $f_sep=",";
  33. # field separator is comma;
  34.  
  35. $f_sep=",";
  36.  
  37. # Please leave line below as is if your database is comma-dilimetered file
  38. # with quotes around the text fields. Otherwise delete line below entirely;
  39.  
  40. $quotes="on";
  41.  
  42. # On the line below enter field number in your database that contains
  43. # price (if applicable). This will ensure that price is displayed
  44. # nicely in the output (e.g. $25,000.30 rather then 25000.3).
  45. # Please note that field numbering starts from 0(zero) , e.g.
  46. # 0 - first field, 1 - second field, etc.
  47. # Example
  48. # $f_price=6; - price is seventh field in a database
  49. # If your database does not include prices, delete line below;
  50.  
  51.  
  52. # On the lines below please enter what you want to appear as
  53. # [Next] and [Previous] links. It can be just words in a special
  54. # font, or image.
  55. # Example"
  56. # $next="<font size=-1><b>[Next]</b></font>";
  57. # $previous="<font size=-1><b>[Previous]</b></font>";
  58. # for image enter
  59. # $next="<img src=\"http://www.domain.com/images/image.gif\" Alt=\"Alt text\" border=0>";
  60. # Please note:
  61. # URL for image should be absolute, e.g. http://www.domain.com/images/image.gif
  62. # All " you will normally use within image tag should be escaped with \,
  63. # e.g. \" (see example above);
  64.  
  65. $next="<font size=2><b>more results</b></font>";
  66. $previous="<font size=2><b>previous results</b></font>";
  67.  
  68. # Set $log to 1 if you want the search log to be created (see more on this
  69. # in readme.txt file. Otherwise delete the line below;
  70.  
  71. $log=1;
  72.  
  73. $var=99;
  74.  
  75.