There are many ready-made scripts statistics, which includes statistics searches. Some of them are free and some require payment. In addition any meter installed on the site also records search queries, whose history can be viewed by logging into your account rating system, the meter is installed on the site. But to extract some benefit to the site of the counters rating systems fail. Well, free and Paid Scripts statistics are often very heavy and slow, terrible burden the server that the site is unacceptable. Out of the situation is simple. Need a simple php script statistics and history of search words. Such a script to make difficult.
Below is the text presented to the class for parsing search queries. class SearchWord / / flag fixing approach to the site from a search engine var $ Sright; / / signature var $ SearchSite; / / search query var $ SearchWord; / / refferal link search query var $ SearchRefer; function SearchRequre ($ SRefer) global $ eini; $ tmp = phrase. The file itself and a description of a php script on the basis of this class can be found at the original source of this article. On the basis of this class can be made for a site page in the history of search phrases for which it is also possible generate ready-made pages using my own site search script like the site itself.