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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Making a Search of somewhat.

    Im trying to make me a personal search engine to make it easy searching for stuff online so what im trying to do is make a html file with a search box in it and lets say you put in "rawr" and click search it goes to this http://www.packetnews.com/search.php?type=0&kw=rawr

    i tried for about an hour trying to figure it out, i even tryed googles search engine by changeing the url to it but still dident work. if anyone knows how please let me know thanks

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    <form action="http://www.packetnews.com/search.php" method="get">
    <input type="hidden" value="0" name="type" />
    <input type="text" name="kw" />
    <input type="submit" value="Search" />
    </form>
    </body>
    </html>
    Or if you want to use googles search engine.
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    <form method="get" name="searchform" action="http://www.google.com/search">
    <input type="hidden" name="as_sitesearch" value="http://www.yoursite.com" />
    <input type="text" name="as_q" size="20" />
    <input type="submit" value="Search"/>
    </form>
    </body>
    </html>
    Last edited by _Aerospace_Eng_; 11-28-2005 at 10:05 AM.


  •  

    Posting Permissions

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