google custom search not work

Discussion in 'Shopping' started by 3walim, Nov 2, 2007.

  1. #1
    hello
    I try make google custom search but it not work with me
    first I put this code
    <!-- Google CSE Search Box Begins  -->
    <form action="http://search.3walim.com/search.html" id="searchbox_014928999606218482132:uijkoufj6sc">
      <input type="hidden" name="cx" value="014928999606218482132:uijkoufj6sc" />
      <input type="hidden" name="cof" value="FORID:11" />
      <input type="text" name="q" size="25" />
      <input type="submit" name="sa" value="Search" />
    </form>
    <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_014928999606218482132%3Auijkoufj6sc"></script>
    <!-- Google CSE Search Box Ends -->
    
    PHP:
    on html page and name it index.html and uplaod it to
    http://search.3walim.com
    then creat search.html page and out this code on it
    
    <!-- Google Search Result Snippet Begins -->
    <div id="results_014928999606218482132:uijkoufj6sc"></div>
    <script type="text/javascript">
      var googleSearchIframeName = "results_014928999606218482132:uijkoufj6sc";
      var googleSearchFormName = "searchbox_014928999606218482132:uijkoufj6sc";
      var googleSearchFrameWidth = 600;
      var googleSearchFrameborder = 0;
      var googleSearchDomain = "www.google.com";
      var googleSearchPath = "/cse";
    </script>
    <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
    <!-- Google Search Result Snippet Ends -->
    
    PHP:
    these code i copy it from google custom search

    now when i try search for any thing it give me blank page or not work

    thanks for any help
     
    3walim, Nov 2, 2007 IP