[PHP] Looping needs to re-open parm file

2002-12-19 Thread Jacob van Zanen
Hi All, I'm reading a paramter file and a text file. Per line of the text file I want to check if there is a word in there from the parameter file. However I need to open and read the parameter file for each line in the text file. How can I change this? Followin is the code I have. \n"); }

[PHP] Simple code that won't work

2002-12-17 Thread Jacob van Zanen
Hi All, Reasonably new to PHP and trying to write a code that looks through my logfiles and reports the lines that contain any of the keywords in my init file. However can't seem to get it to work If the part that does not seem to work is the bit that does the comparison. Anybody have an ide