Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Dec 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Need help with coding SEARCH ENGINE

    Hi, for the past few days i have been trying to code a search engine, simply using scripts i found online, and none seem to work. What i need is a script for a search engine that can go on my site. And i would need instructions on how to enter the data on it, can anyone help? THank You

    William

  • #2
    New Coder
    Join Date
    Aug 2005
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    heard this works for google...
    assuming your site is already indexed. and dont mind using google aka goign away from your site, to get back into your site.

    PHP Code:
    <form method="GET" action="http://www.google.com/search"
        <
    input type="text" name="query" value="" size="20"
        <
    input type="hidden" name="as_sitesearch" value="www.yoursitename.com"
        <
    input type="submit" value="Google my site"
    </
    form

  • #3
    New Coder
    Join Date
    Dec 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the help!!! im going to try this as soon as i can, and what do you mean by:

    assuming your site is already indexed. and dont mind using google aka goign away from your site, to get back into your site.
    indexed? as in submitted into google?

    and i didnt really understand the second statement in that sentence...
    Thanks Again

  • #4
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It will search the pages Google has already cached from your site.

    I think.

    It would bring up the same results as searching "keyword site:www.yoursitename.com".

  • #5
    New Coder
    Join Date
    Dec 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah thats not what i was looking for.

    Could anyone drop anymore scripts to search keywords or something on your site?

    Thank You

    Will

  • #6
    New Coder
    Join Date
    Dec 2005
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    google search

    I tested the google search on our site to show how you can implement google search on your page using iframes. I am able to do what you wanted-make the results appear on your domain.

    Please visit this link to see it in action. I made the main scrollbar invisible (all white) since the iframe needs a scrollbar and the page won't look good with 2 scrollbars. And, of course, customize the iframe and the rest of the page to your liking. You can't change the results as they are on google's domain.

    http://www.eofficeprofessionals.com/...oglesearch.asp

    Here is the source. Change "eofficeprofessionals.com" to your url.

    Code:
    
    
    <style>
    body, td, textarea, input, select { 
    font-family: arial;
    	font-size: 13px;
    	color: #444444;
    	font-weight: bold;
    scrollbar-base-color:#FFFFFF;
    scrollbar-face-color:#FFFFFF; 
    scrollbar-arrow-color:#FFFFFF;
    scrollbar-shadow-color:#FFFFFF; 
    scrollbar-track-color:#FFFFFF; 
    scrollbar-highlight-color:#FFFFFF;
    scrollbar-darkshadow-Color:#FFFFFF;
    
    text-align: center;
    
    } 
    
    
    </style>
    
    <TABLE  HEIGHT=100% WIDTH=100%><tR><tD VALIGN=TOP>
    
    Search our site using our preferred search tool, Google.
    
    
    
    </TD></TR>
    
    <TR>
    <TD  HEIGHT=800 VALIGN=TOP WIDTH=100%>
    <iframe scrolling="auto" allowtransparency=true VALIGN=TOP width=100% HEIGHT=100% NAME="FRAME" 
     src="http://www.google.com/custom?query=&as_sitesearch=eofficeprofessionals.com" frameborder="0" 
    scrolling="no"></iframe> 
    
    </TD></TR></TABLE>
    Last edited by pramsey; 12-03-2005 at 11:16 PM. Reason: forgot to add the source code
    Web hosting...webmaster support http://www.eofficeprofessionals.com/forums
    Offer solutions-not criticism.

  • #7
    New Coder
    Join Date
    Dec 2005
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    WOOT THANK YOU!!!!! That helped a lot, thanks again.

    WIll


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •