Web Search engine
WFSearch version 0.8 (for PHP)
- fast, not indexing searching (on the fly)
- recursive searching in subdirectories
- disallowed and allowed filename lists
- output to number of pages
- "and" / "or" search
- tags killing
- multi language interface
- show time of search process
All, who uses this script are beta-testers. So, please talk to me about
all founded bugs and as possible how to fix them. In this case send to me
fixed source code based on last version of WFSearch engine.
How to set up engine
~~~~~~~~~~~~~~~~~~~~
Tuning is very simple. Unix users must set rights to running. Also
you must correct configuration file. For example you setting WFSearch
to root directory of your server, your system is Unix and you are user of
hoha.ru hosting. You want to search in site root directory, where search.php is
located. Then you must set variables on config.php:
$start_search="";
Note, that $start_search is case sensitive. This variable have charge of
replacing of links to founded files, but it isn't affect to search process.
However, if this variable is set incorrectly, your links will be "broken".
Note: in Windows you must write slashes as "\\", and in Unix slashes are
"/". For example "C:\jID\" will be "C:\\jID\\".
There are some note again: sometimes your hosting (for example hoha.ru)
prevents to search in upper directory (".."). Reason of this is shortage of
rights.
Note: If your site contains many files to search, then you can get timeout
script error. This isn't my error. To avoid this error you can try to
reduce number of files, use good hosting, set bigger php timeout or use
WFSearch.PRO search engine (for MySQL)... (coming soon)
History of developing WFSearch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
09 Jan 2003 (Version 0.8 (PHP) feat. Jean-Charles Meyrignac)
* Improved search algorithm (now it searches faster)
* Improved files matching
* Search with accents works now
+ Show time of search process
* Results format is changed
- $real_loc variable removed
03 Jul 2002 (Version 0.7 (PHP))
+ Language files for Russian and English languages
+ Easier interface setting-up
* Some little bugs are fixed
10 Jun 2002 (Version 0.6 (PHP))
+ Interface and documentation on two languages (russian and english)
* Output in the table (with different colors)
- There is no ugly word "beta" in the version string
02 Jun 2002 (Version 0.5 beta (PHP))
+ Some bug fixed (with second links)
+ Some bug fixed (with string inserting)
* Mixing history.txt and todo.txt to readme.txt
31 May 2002 (Version 0.4 beta (PHP))
+ You can search in directories, that upper than current
30 May 2002 (Version 0.3 beta (PHP))
+ Some bug fixed (with words, that are in the beginning of string)
+ Some bug fixed (with case of allowed filenames)
+ Some code optimisation
+ Numbered output like "2) >> history.txt >>"
+ Output per pages
29 May 2002 (Version 0.2 beta (PHP))
+ "or" search
+ Bold font selection of query words in result description
+ Configuration file config.php
+ Allowed and disallowed file names
+ One little bug fixed (Now you can use engine at Windows, and at Unix)
28 May 2002 (Version 0.1 beta (PHP))
+ Recursive searching in subdirectories
+ "and" search
+ Output of search results
* It really works! But I must work, work and work...
27 May 2002 (Version is not specified)
* Work has begun. I have spend creating for 2 hours, after that it can
only show files at current directory.
25 May 2002 (Version is not specified)
* Idea of creating engine is apeared (idea by .scu)
WFSearch "ToDo" List
~~~~~~~~~~~~~~~~~~~~
- remove $query that are smaller than 3 characters
- variable number of results per page
- bugs when using ", &, ', <, >
- str_replace: replace to ereg_replace functions ???
- case sensitive search
- exact search " "
- inclusive search '+'
- exclusive search '-'
- administrating
- logging
- searching and fixing bugs
WFSearch BUG List
~~~~~~~~~~~~~~~~~
- queries с ", &, ', <, >
Special thanks to
~~~~~~~~~~~~~~~~~
.scu - for idea, inspiration to code and founded bug
2pick - for founded bug
Jean-Charles Meyrignac - for improving search algorithm, adding new features
and other
Used software (while developing)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System, used to create engine:
Microsoft Windows 98 SE
PHP v4.1.1 (Win32 CGI Version)
Microsoft Personal Web Server (IIS 4)
Apache HTTP Server v1.3.20 (Win32 Version)
Apache HTTP Server v2.0.43 (Win32 Version)
Microsoft Internet Explorer v4.00
Microsoft Internet Explorer v5.01
Microsoft Internet Explorer v5.50
Netscape Navigator v4.06
Opera v5.02
Opera v6.01
FreeBSD Unix
_____________________________________________________________________________
Copyright (c)
jID aka Zhelneen Eugeney, [email protected], ICQ: 123271556
Jean-Charles Meyrignac, [email protected]
09 Jan 2003