1 ======================================================================= 2 Search.php frontend for mnoGoSearch ( formely known as UdmSearch) 3 free web search engine 4 ======================================================================= 5 6 Please send you comments, questions and suggestions to 7 general@mnogosearch.org (Main maillist) 8 devel@mnogosearch.org (Developers maillist) 9 10 Reqirements: 11 ------------ 12 search.php requires PHP 4.3.x or later built with mnoGoSearch support. 13 14 How do I use it? 15 ---------------- 16 17 1. Copy all distribution files into one directory. 18 2. Edit search.php and setup $template_file='/path/to/search.htm'; // path to template file 19 3. Edit config.inc settings at the beginning of the script: 20 21 $MAX_NP=1000; // maximum allowed results page number 22 $MAX_PS=100; // maximum allowed results per page 23 24 $trackquery='no'; // default value for TrackQuery template parameter 25 26 $lang_content_negotiation='no'; // (optional) Enable language content negotiation 27 // Please refer to docs/negotiation.txt for details 28 29 $lang_url_translation='no'; // (optional) Enable language url translation 30 // for example url "path/file.en.ext" 31 // will be translated into "path/file" 32 // Please refer to docs/negotiation.txt for details 33 34 4. Edit search.htm to suit your needs. 35 36 P.S. The setup seems to be very confusing to our users which are trying to 37 use frontend with PHP CGI (not with apache module). In a such situation 38 the path to the search.php in a form in search.htm should be like 39 /cgi-bin/php.cgi/path_to_search_php/search.php 40 This depends on where you installed PHP CGI. So correct accordingly your 41 search template.