Jump to content

Asp Form Search Engine? Not A Clue By The Way


Guest s-mc
 Share

Recommended Posts

Hi,I'm looking to do the following:A page with a form, that when data is inputted, it acts as keywords which queries 3 other pages for those keywords, with a a submit button, and if any pages match those words, it will create a new page dynamically and display those pages as a list that are hyperlinked so when they are clicked it opens those pages with matching data. Its essentially a small, local search engine. Its to demonstrate ASP dynamic pages for a presentation on ASP. It was given to me by my lecturer, to find out about ASP and I want to demonstrate it in use, but I dont' know much about it as in how to make them up,I'm still learning HTML.Would I need to create a microsoft database file, and what software would I need to run the asp files - dreamweaver, etc?Hope someone can help, even just code and follow through is enough, I haven't much time to learn it right now. I just like the idea of it. Any idea's friends?Thanks

Link to comment
Share on other sites

If you want to search inside regular HTML files, you'll need to use the filesystem functions to open each file to search, and the regular expression functions to look for a match inside the file text.http://www.w3schools.com/asp/asp_ref_filesystem.asphttp://www.google.com/search?hl=en&saf...oq=&aqi=g10You could store the data in a database instead of files if you want to search to be quicker, it takes more time to open several files than it does to connect to a database. In order to run ASP files you need a web server that is capable of running ASP, something like Dreamweaver isn't able to run ASP, you need a web server.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...