Mail Archives: djgpp/1999/04/27/03:34:23
On Mon, 26 Apr 1999, FireFoX McLouD wrote:
> I'm trying to make a CGI application that search a directory in my
> webserver (WindowsNT), and look for a key word in every html doc. is
> there some "FindNext", that allow me to find a .html doc and open it,
> without know the file name?
DJGPP has `findfirst' and `findnext', look them up in the library
reference doc (type "info libc alpha findfirst" from the command
line). If you want the program to be portable, it's better to use
`opendir' and `readdir' (and maybe `fnmatch').
Note that on NT, DJGPP programs cannot see long file names, so you
will need to look for *.htm, not *.html.
- Raw text -