PHP Classes

Quick Search: Integratation with various search engines

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-01-13 (12 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,955 All time: 1,924 This week: 1,140Up
Version License Categories  
quicksearch 1.0GNU Lesser Genera...HTML, Searching
Description Author  

This class is meant to generate HTML forms that can be used submit requests to other sites' search engines.

The class can read an .ini file that describes the information necessary to build search forms to a given site.

Several example .ini files are provided to help generating forms to submit requests to several well known search engines sites.

Picture of L
Name: L <contact>
Classes: 13 packages by
Country: Germany Germany
Age: 41
All time rank: 506 in Germany Germany
Week rank: 919 Down43 in Germany Germany Down

readme.txt for quickSearch.php

For the latest version go to:


With this class you can combine various search services into one search box. 
The search and the services are defined through .ini files. Services which use POST, GET or APPEND to an url can be specified. An .ini file consists of two parts. The general desctption and the parameters block. In the general block the id must be unique. The URI and description parameter are not used for now.
In the parameters block all submitted parameters must be given. The parameter for search query has a placeholder (%s).
Examples for the three possible service types (POST => amazon.ini ,GET => google.ini , APPEND => php2.ini) are provided. 

This class requires two other classes to work, please download them:

	inirw @
	Forms @

You need to change line 120 in inirw.class.php to to make it work with all the provided ini files:

if(preg_match("/^\[([\w\d-]+)\][\r\n]*$/", $line, $matches))

  Files folder image Files  
File Role Description
Files folder imageexamples (2 files, 1 directory)
Plain text file quickSearch.php Class main class
Accessible without login Plain text file readme.txt Doc. read me

  Files folder image Files  /  examples  
File Role Description
Files folder imageini (6 files)
  Plain text file example.php Example example script
  Accessible without login Plain text file search.ini Data ini file for example

  Files folder image Files  /  examples  /  ini  
File Role Description
  Plain text file amazon.ini Data ini file for
  Plain text file ebay.ini Data ini file for
  Accessible without login Plain text file google.ini Data ini file for
  Plain text file leo.ini Data ini file for
  Plain text file php2.ini Data ini file for
  Plain text file phpclasses.ini Data ini file for

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,955All time:1,924
 This week:0This week:1,140Up