I have a text file with multiple lines of text. I also have a variable.
I want to check if the variable is contained anywhere in the text file. could someone please show me how to do this.
just to explain it a little bit better here is exacly what i want to do. i have a variable that contains the ip address of the person who is on my page. right now it writes their ip address to a text file. but i want it to check the text file for their ip before writing it, so that if it is already there it will not write it again.
thanks in advance
-Madmee