Kaula Posted March 21, 2004 Posted March 21, 2004 Hello, I have a job where I do internet technical support for a few ISPs. I'm doing ok I suppose, being able to find all the information required to tech the calls, but finding the information is killing my call times. I have accumulated around 120 text files with solutions which are seperated into four groups based off error codes and descriptions. Now what I need is a way to search these four directories from a single webpage and load that txt file into the lower frame. It would need to be able to search the text files for keywords and also list text files whose filename matches the search. The search results would be loaded into the lower half of the webpage listed by /directory/filename as links. When the links are clicked on then it would load that text file into the lower half of the same page replacing the search results. Now heres my problem, I dont know anything but the basics of web programming. I have two books on it and some print outs of html coding and thats all I know. An example of how much I dont know is my webpage I have here at TCH (mainly used for trasnfering files between school/work/home) http://www.kaulaiscool.us So if anyone here can give me a boost as to how I can go about making this I'd much appreciate it. Links, articles, scripts... anything! I learn fast, just need a shove :-/ Quote
SlitheryImp Posted March 21, 2004 Posted March 21, 2004 This is not exactly what you are looking for, but this is how I would go about it. - Convert all of your text pages to html. (just copy the text, and paste it into any html editor) - Save the files using the same folder structure and naming conventions as with the text files you now have. (this is only to make it easier for yourself) - Make one page that will have a link to each of the folders you just made. When you click on the link you should get a list of all the files you just made. (as long as there is no index.htm) - now go to this page and look for a good script to search your own pages, "phpMySearch" looks pretty good. This is not the most elegant of solutions for your problem, but it will most probably help you out in the short term untill you have a better grasp of php and html. (and hopefully you'll be able to learn enough from installing one of the scripts to be able to adjust it to meet your exact needs) Quote
Kaula Posted March 28, 2004 Author Posted March 28, 2004 Sorry it took so long to reply to this, but I visited that site the same day you posted it and was able to find exactly what I was looking for in the cgi script area. Thanks so much for the link! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.