0
嗯,我有這樣的搜索引擎到我的網站谷歌自定義搜索與SEO URL
<form action="/apps/search/" name="g_search" id="cse-search-box" method="post">
<input type="hidden" name="cof" value="FORID:11;NB:1" />
<input type="hidden" name="ie" value="utf-8" />
<input type="text" autocomplete="off" name="google_seach" class="search-text" onfocus="searchtext('focus')" onblur="searchtext('blur')" />
<label style="color:#796b6b;float:left;padding:0;">|</label>
<input type="submit" style="float:right;margin-top:3px;cursor:pointer;width:16px;height:16px;background:url(/template/img/main/search-icon.jpg);border:none;" value="" alt="Αναζήτηση" title="Αναζήτηση" />
</form>
現在我想一些代碼,結果page.Somehow發佈請求從一個文件名爲readed的search.php 這個文件有訪問$ _POST []數組..
該文件初始化$選擇器變量(用於模板使用)。 我們想要回聲到contentarea div必須放入$ body變量.. 任何幫助嗎?
<?php
$selector="search";
$body="<div id=\"cse-search-form\" style=\"width: 100%;\">Loading</div>";
?>
任何幫助請??? –