Scanning multiple files at once. Then doing a match
fintan
4:27 pm on Sep 16, 2004 (gmt 0)
Hi I was wondering could this be done. Basically I want to open then scan 3 files for a string. Then do something based on what file the string was in. Thanks
fintan.
mincklerstraat
4:44 pm on Sep 16, 2004 (gmt 0)
sure can! check out file_get_contents() and strpos(). On the page regarding strpos(), check the remarks regarding using '===' or '!== FALSE' instead of == or!=. Some reading for you, but can you really imagine any more thrilling reading than the php manual?
fintan
10:08 am on Sep 17, 2004 (gmt 0)
Thanks I'll check them out, there couldn't be could there?