It is necessary to display files from a directory containing a certain word. I find files from the directory:
$filename = "/"; foreach (glob("*.php") as $filename) { echo "{$filename}<br/>"; } How to make only the files with the search word displayed?