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