Recommend this page to a friend! |
Download .zip |
Info | View files (10) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2004-01-13 (12 years ago) | Not yet rated by the users | Total: 1,958 | All time: 1,945 This week: 1,009 |
Version | License | Categories | ||||
quicksearch 1.0 | GNU 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. |
readme.txt for quickSearch.php For the latest version go to: http://www.phpclasses.org/browse.html/package/1443.html /////////////////////////////////////////////////////////////////////// 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 @ http://www.phpclasses.org/browse.html/package/912.html Forms @ http://www.phpclasses.org/browse.html/package/931.html IMPORTANT: 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 |
File | Role | Description | ||
---|---|---|---|---|
examples (2 files, 1 directory) | ||||
quickSearch.php | Class | main class | ||
readme.txt | Doc. | read me |
Files | / | examples |
File | Role | Description | ||
---|---|---|---|---|
ini (6 files) | ||||
example.php | Example | example script | ||
search.ini | Data | ini file for example |
Files | / | examples | / | ini |
File | Role | Description |
---|---|---|
amazon.ini | Data | ini file for amazon.de |
ebay.ini | Data | ini file for ebay.de |
google.ini | Data | ini file for google.de |
leo.ini | Data | ini file for dict.leo.org |
php2.ini | Data | ini file for php.net |
phpclasses.ini | Data | ini file for phpclasses.org |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
Forms required class |
inirw.class.php required class |