jeeden
12-24-2007, 11:16 PM
Is it possible to read in from a text file line by line?
Like in C when I open a file and parse through it, the file pointer remains and will keep pulling until EoF.
I was wondering if there is something comparable to
read(fp,"%s /n", &name);
I want to check a word against a list I have on the local server.
The list is a txt file with a word on each line. If the input from the user in a textbox doesn't match a word in the list..then trigger blah blah.
Thanks
Like in C when I open a file and parse through it, the file pointer remains and will keep pulling until EoF.
I was wondering if there is something comparable to
read(fp,"%s /n", &name);
I want to check a word against a list I have on the local server.
The list is a txt file with a word on each line. If the input from the user in a textbox doesn't match a word in the list..then trigger blah blah.
Thanks