infected"; $GLOBALS['num_infected']++; } } else { echo " - skipped"; } echo ""; }; dir_walk('del_virus', $dir, array( 'js', 'php', 'php5', 'html', 'htm', 'shtml', 'json' ) , true, $dir); echo "Num infected = $num_infected "; ?>