0
我正在寻找解决方案,使我的搜索为谷歌+ Bing +雅虎+ ASK 我想使用框架发送查询时发送查询显示链接作为其他搜索引擎顶部框架命名标题如何将变量传递到frameset为muli搜索
我试图发送查询,看看导致的header.php
资源有: 的index.html
<pre>
<frameset>
rows="30,*" frameborder="0">
<frame name="main" src="search-engine.php" />
<frame name="header" noresize="noresize" scrolling="no" src="header.php" />
<frameset>
搜索engine.php
<form action="header.php" method="get">
<input type="text" name="keyword" autocomplete="off" />
<input type="submit" />
</form>
<?php
$keyword=$_GET["keyword"];
echo "<a href='http://www.bing.com/search?q=$keyword' title=''>bing</a>";
echo "<br>";
echo "<a href='http://www.google.com/search?q=$keyword' title=''>google</a>";
echo "<br>";
echo "<a href='http://search.yahoo.com/search?p=$keyword' title=''>Yahoo!</a>";
?>
的header.php
header("Location: http://search.yahoo.com/search?p=$keyword");
谢谢你帮助我,你能拿出用Ajax编写的示例代码,例如在一个页面上的多个搜索引擎中进行serach(用户可以选择女巫媒体类型的女巫引擎)? – rezad
有数百万的例子。我给你找期限,请从这里尝试一下。如果您有任何具体问题,我们可以帮助解决这些问题。 – GolezTrol