I am trying to search a few search engines with my script, but some of the search engines have some sort of referer checker, goto search.yarrt.com and try to search for something, google and yahoo and a few others I cant remember does it. After you have had a look here is the pages code, try to fix it so that it will work:
Code:
<!--
Krustie.com
Copyright (c) 2004 Daniel Smith
[email protected]
-->
<HTML>
<HEAD>
<style>
td{font-family: verdana; font-size: 7pt}
a:link{text-decoration: none}
a:active{text-decoration: none}
a:visited{text-decoration: none}
a:hover{text-decoration: none; color: #000000}
</style>
<TITLE>Search The Web</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="800" style="border: 1px solid #E0E0E0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign=middle background="images/index_01.gif" width=800 height=46 alt=""><b>Search The Web </b></td>
</tr>
</table>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td VALIGN=TOP><img src="images/index_02.gif" width=555 height=22 alt=""><a href="index.php"><img src="images/index_03.gif" alt="" width=62 height=22 border="0"></a><a href="contact.php"><img src="images/index_04.gif" alt="" width=91 height=22 border="0"></a>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign=middle background="images/index_06.gif" width=800 height=24 alt=""><font color="#FFFFFF"><b><a href="index.php"><font color="#FFFFFF"><u>HOME</u></font></a>
- <a href="about.php"><font color="#FFFFFF"><u>ABOUT</u></font></a> - <a href="affialites.php"><font color="#FFFFFF"><u>AFFIALITES</u></font></a> - <a href="donate.php"><font color="#FFFFFF"><u>DONATE</u></font></a></b></font></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td VALIGN=TOP><img src="images/index_07.gif" width=800 height=152 alt=""><br>
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign=top width="194">
<table width="145" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign=top> <p>Navigation:<br>
<i> _ <a href="index.php">Home</a><br>
_ <a href="about.php">About</a> <br>
_ <a href="affialites.php">Affialites</a><br>
</i><i> _ <a href="donate.php">Donate<br>
</a> _ <a href="contact.php">Contact</a> </i><br>
</p>
</td>
</tr>
</table>
<br>
<table width="194" border="0" cellspacing="0" cellpadding="0">
<tr>
<td VALIGN=TOP><br>
<br></td>
</tr>
</table>
</td>
<td valign=top width="606"><br>
<table width="606" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="600" valign=top>Simply fill out the form below to search:<br>
Google, Yahoo, Alta Vista, Ask Jeeves, MSN and Lycos.<br>
<br>
<form name="form1" method="action" action="search.php">
<label>Criteria:
<input name="criteria" type="text" id="criteria">
</label>
<br>
<label>
<input type="submit" name="Submit" value="Search The Web">
</label>
</form>
<p><br>
Search Engine:<br>
<a href="http://www.google.com/search?hl=en&q=<?php echo $_POST['criteria']; ?>&btnG=Google+Search" target="searchresults">Google</a> - <a href="http://search.yahoo.com/search?ei=UTF-8&b=11&p=<?php echo $_POST['criteria']; ?>" target="searchresults">Yahoo</a> - <a href="http://search.lycos.com/default.asp?loc=serarchbox&tab=web&query=<?php echo $_POST['criteria']; ?>&submit.x=0&submit.y=&0&submit=image" target="searchresults">Lycos</a> - <a href = "http://web.ask.com/web?q=<?php echo $_POST['criteria']; ?>&qsrc=0&o=0" target="searchresults">Ask Jevees</a> - <a href="http://search.msn.com/results.aspx?q=<?php echo $_POST['criteria']; ?>&FORM=QBRE" target="searchresults">MSN</a> - <a href = "http://www.altavista.com/web/results?itag=ody&q=<?php echo $_POST['criteria']; ?>&kgs=1&kls=0" target="searchresults">Alta Vista</a></p>
<div align="center">
<iframe src="http://www.google.com/search?hl=en&q=<?php echo $_POST['criteria']; ?>&btnG=Google+Search" frameborder="0" width="600" height="300" name="searchresults"/>
</div>
</p></td>
<td width="10" valign=top> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>








