Answer the question
In order to leave comments, you need to log in
How to find files in a folder that do NOT contain text?
How to find files in a folder that do not contain access-blocking text?
those. you need to find files in all files with the PHP extension that do not contain the text "defined( '_JEXEC' )"
A simple Windows application is needed
Answer the question
In order to leave comments, you need to log in
You can try like this:
$files = null;
$status = null;
exec('grep -rL "defined(\'_JEXEC\')" /path/to/directory', $files, $status);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question