Oh and for anyone who wants to pursue creating their own code scanner start here: http://php.net/manual/en/function.file.php Using the php file() function will put searched code into arrays (Each element of the array corresponds to a line in the file). Huge time saver vs other methods. ;)