Version: 1.0
Type: Full Script
Category: Other
License: GNU General Public License
Description: /****************************************** ** Description : Multi Search PHP ** Version : 1.0.0 ** File Name : search.htm and result.php ** Author : Thyago James Willian ** Author Email : tjw@unimes.com.br ** Created : Monday, July 02, 2001 Interesting to find web sites in more than 12 search engine. Simple and easy to include in your web site.
The script are 2 files.
The first file (html) - The name is search.htm
<!--
################################
#Autor: Thyago James Willian #
#Webdesigner #
#E-mail: tjw@uol.com.br #
# james@unimes.com.br #
################################
-->
<html>
<head>
<title>Multibusca - PHP</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<small><small><font face="Verdana"> </font></small></small>
<form name="form1" method="post" action="result.php" target="blank">
<table width="500" border="1">
<tr>
<td>
<div align="center"><font face="Verdana" size="3"><b>Multi Search PHP</b></font></div>
</td>
</tr>
<tr>
<td>
<p> </p>
<p><small><small><small><font face="Verdana">
<input type="text" name="palavra" size="19" style="font-size: 8pt">
</font></small></small></small>
<select name="busca" style="font-size: 7pt">
<option value="altavista">Altavista</option>
<option value="aonde">Aonde</option>
<option value="cade">Cade</option>
<option value="google">Google</option>
<option value="hotbot">HotBot</option>
<option value="infoseek">InfoSeek</option>
<option value="lycos">Lycos</option>
<option value="radaruol">Radar UOL</option>
<option value="yahoo">Yahoo !</option>
<option value="zeek">Zeek</option>
<option value="webcrawler">WebCrawler</option>
</select>
<input type="submit" value="Buscar" name="btbusca" style="font-size:8pt;background-color:rgb(255,255,255);color:rgb(0,0,0)">
</p>
<p> </p>
</td>
</tr>
<tr>
<td><font face="Verdana" size="1">Autor: Thyago James<br>
<a href="mailto:tjw@uol.com.br">tjw@uol.com.br</a> </font></td>
</tr>
</table>
</form>
</body>
</html>
The second file - The name is result.php
<?php
$urlAltavista="http://www.altavista.com/cgi-bin/query?q=$palavra&kl=XX&pg=q&Translate=on";
$urlCade="http://busca.cade.com.br/scripts/engine.exe?p1=$palavra&p2=1&p3=1&p5=10";
$urlZeek="http://busca.zeek.com.br/busca/busca.cfm?p=$palavra";
$urlYahoo="http://search.yahoo.com/bin/search?p=$palavra";
$urlHotBot="http://hotbot.lycos.com/?_v=2&RG=NA&act.search=Pesquisar&MT=$palavra";
$urlLycos="http://www.lycos.com/srch/index.html?query=$palavra&lpv=1&loc=fromlycosmain";
$urlInfoSeek="http://www.goto.com/d/search/p/go/?Partner=go_home&Keywords=$palavra&Go=Search" ;
$urlWebCrawler="http://www.webcrawler.com/cgi-bin/WebQuery?searchText=$palavra";
$urlGoogle="http://www.google.com/search?q=$palavra";
$urlRadar="http://www.radaruol.com.br/index.asp?MT=$palavra&SM=MC&LG=any&DC=10&RG=.br&_v=2&act.search.x=18&act.search.y=11";
$urlAonde="http://www.aonde.com/cgi/consulta.cgi?keys=$palavra&search_type=and&I3.x=5&I3.y=10";
Switch($busca)
{
Case "altavista":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlAltavista'\">";
Case "cade":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlCade'\">";
Case "zeek":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlZeek'\">";
Case "yahoo":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlYahoo'\">";
Case "hotbot":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlHotBot'\">";
Case "lycos":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlLycos'\">";
Case "infoseek":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlInfoSeek'\">";
Case "webcrawler":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlWebCrawler'\">";
Case "google":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlGoogle'\">";
Case "radaruol":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlRadar'\">";
Case "aonde":
echo "<META HTTP-EQUIV='REFRESH' CONTENT=\"0; URL='$urlAonde'\">";
}
?>