|
Step by step tutorial on
This sample ASP script we
Have you wanted to allow your
As a web site grows, finding
creating a database driven
will search a custom query
users to search through your
content on the site becomes
ASP search engine from
in an SQL database. We will
website, checking for files
increasingly difficult. To
scratch. Important info for
use two custom script in one
that contain a particular
combat the difficulty of
beginners on using ASP
page and will take query
string? Using the
finding relevant information
intrinsic objects and
results divided in pages.
FileSystemObject, you can
on a large site, many
dealing with databases.
before starting to use this
search through all of the
developers turn to writing a
Complete search engine
script, you must modify sql
files in a particular
search engine for their
available for download.
query and database
directory that contain a
site. This article discusses
connection.
particular string. To allow
how to implement such a
for this functionality, you
system using Active Server
will need two ASP pages: one
Pages and SQL Server.
that presents the user a
form to enter the string
they wish to search for; the
second needs to take this
string, iterate through all
of the files in a particular
folder, and determine which
of these files contain the
string. This tutorial shows
you how.
Date: May, 12 2000 Date: Aug, 31 2006 Date: Jan, 27 2000 Date: Jun, 11 2000 |
|
If a user doesn't find what
A quick and easy way to add
This article shows a nifty
This is a complete set of
they are looking for in the
interactivity to your site
little script, which, with
scripts to integrate a site
first couple clicks, the
is to allow your visitors to
just one ASP page, allows
search function with Index
majority of them will move
search the Internet. You can
you to dynamically search a
Server 3. The scripts assume
on to greener pastures. So
add any search engine to
column in a table using a
that you've enabled indexing
how do you give the user
your site as long as they
string comparison. This one
of the site, and enabled the
exactly what they're looking
use a query string, here's
script can be used over and
indexing service itself -
for? This tutorial will show
how.
over due to its dynamic
and of course that you're
you how. Full source code is
nature. Hopefully this
running Windows 2000 Server.
also available for download.
script will save you
If you don't have
valuable time by cutting
administrator access to the
down on the often repetitive
web server, you'll need to
task of creating small,
speak with your web hosting
searching scripts.
provider to ensure that it
is set up.
Date: Jan, 23 2001 Date: Aug, 10 2000 Date: Apr, 08 2000 Date: Apr, 02 2001 |