Hi all,
I hope someone can help me out with this one as I have searched the web for litterally hours and have not found a clear cut answer.
Is it possible to have a cgi script "search" a txt file? Everything I am finding is "Sql" based. I would rather not use Sql if possible. I would rather have a simple text file broken down like this:
Now, is it possible to do a search of this document from a form and have the cgi return the relevant link?
If so, maybe someone could point me in the direction of a good tutorial on this type of process. I am really only looking for a push in the right direction. However, if someone wants to give more than a push, I wont mind that either.
Thanks for reading!
IamStang
Technical User my butt!
Just another nooB!
I hope someone can help me out with this one as I have searched the web for litterally hours and have not found a clear cut answer.
Is it possible to have a cgi script "search" a txt file? Everything I am finding is "Sql" based. I would rather not use Sql if possible. I would rather have a simple text file broken down like this:
Code:
1965mustang | [URL unfurl="true"]http://www.mypage.com/65m.html[/URL]
1966mustang | [URL unfurl="true"]http://www.mypage.com/66m.html[/URL]
1967mustang | [URL unfurl="true"]http://www.mypage.com/67m.html[/URL]
1968mustang | [URL unfurl="true"]http://www.mypage.com/68m.html[/URL]
1969mustang | [URL unfurl="true"]http://www.mypage.com/69m.html[/URL]
(Of course, this txt file could eventually contain 100s, if not 1000s, of entries.)
Now, is it possible to do a search of this document from a form and have the cgi return the relevant link?
If so, maybe someone could point me in the direction of a good tutorial on this type of process. I am really only looking for a push in the right direction. However, if someone wants to give more than a push, I wont mind that either.
Thanks for reading!
IamStang
Technical User my butt!
Just another nooB!