zoukankan      html  css  js  c++  java
  • 利用百度搜索自己站内的信息

    <SCRIPT language=javascript>
    function g(formname)	{
    var url = "http://www.baidu.com/baidu";
    if (formname.s[1].checked) {
    	formname.ct.value = "2097152";
    }
    else {
    	formname.ct.value = "0";
    }
    formname.action = url;
    return true;
    }
    </SCRIPT>
    <form name="f1" onsubmit="return g(this)">
    <table style="font-size:9pt;">
    <tr height="100"><td valign="top"><img src="http://img.baidu.com/img/logo_yy.gif" border="0" alt="baidu"></td>
    <td>
    <input name=word size="30" maxlength="100">
    <input type="submit" value="百度搜索"><br>
    <input name=tn type=hidden value="bds">
    <input name=cl type=hidden value="3">
    <input name=ct type=hidden>
    <input name=si type=hidden value="www.guoxue.com">
    <input name=s type=radio> 互联网
    <input name=s type=radio checked> www.guoxue.com
    </td></tr></table>
    </form>
    
    


    把 www.guoxue.com 替换成你的网站名就可以了


  • 相关阅读:
    std::auto_ptr
    make_pair
    _stdcall与_cdecl(了解)
    函数名与函数指针(了解)
    空指针与野指针
    std::bind(二)
    C++ map 映照容器
    sql find duplicate
    数量
    sort sign numeric
  • 原文地址:https://www.cnblogs.com/wd0730/p/1796657.html
Copyright © 2011-2022 走看看