Page 1 of 1

Matching Strings in Files

Posted: Tue Sep 18, 2007 5:19 pm
by junestag
I have files i need to match up with database records. I've already got the data pulled into a file and am showing it on a web page. But now I need to match a string from the data i've pulled to part of a filename from a separate directory so i can put a link to that file next to the record it matches. can someone tell me how this might be done?

Posted: Tue Sep 18, 2007 5:31 pm
by feyd
file_exists(), is_file() among others could be of use.