Hey, I know there is Fopen and I think Fread, but how do I check if the file contains a certain thing, in this case a IP Address?
I think that opens the file, and displays it, but I want to check if the file contains a IP. I think I know how to write to a file (fwrite).
Thanks!
| Code: |
| <?php
fopen('text.txt', true); echo fopen; ?> |
I think that opens the file, and displays it, but I want to check if the file contains a IP. I think I know how to write to a file (fwrite).
Thanks!
