• Adhost Webmail
    • Client Login

Support - Search Code

(Only for Adhost Unix customers. Does not work on Windows servers)

Here is our sample search.

Enter Search String:

here is the source code for our sample search page.

do not change any of the "name" parts of the tags. change only the "value" parts.

<html>
<head>
<title>search adhost internet </title>
</head>
<body bgcolor="ffffff">
<!-- do not change this line! -->
<FORM METHOD="POST" ACTION="/cgi-bin/searchpages.pl">
<!-- this line defines path to your site on a unix machine -->
<!-- for nt, contact support@adhost.com -->
<input type=hidden name="base" value="/home/web/sites/adhost">
<!-- this line defines the webpath (url) to your site -->
<input type=hidden name="webbase" value="http://adhost.com">
<!-- this line defines a url to your search page -->
<input type=hidden name="searchurl" value="http://adhost.com/searchexample.html">
<!-- the title for your search site -->
<input type=hidden name="title" value="adhost internet">
<!-- a url to a graphic for your results page (optional) -->
<input type=hidden name="icon" value="http://adhost.com/logo.gif">
<!-- the body tag for results page (optional) -->
<input type=hidden name="body" value="">
<!-- a space separated list of files and/or directories to ignore -->
<input type=hidden name="skip" value="">
<!-- the input box for the user to enter his search word(s) -->
enter search string:
<input type=text name="searchstring">
<!-- the submit button -->
<input type=submit value="search">
</form>
</body>

</html>

 

Home   |   Articles   |   Site Map   |   Privacy Policy   |   Terms And Conditions   |   sales@adhost.com
Local Phone: (206) 404-9000 | Toll Free: (888) ADHOST-1 (234-6781)
Fisher Plaza, 140 4th Ave N Suite 360, Seattle, WA 98109
ADHOST © 1996-2008  |  Seattle Colocation  |  About Adhost  |  Newsletter Sign-up  |  Blog