This is how you can check for a string in a php file

or a txt file