/* Given a full path, isolate the filename */ if (preg_match('{ / ([^/]+) $}x', $WholePath, $matches)) $FileName = $matches[1]; ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl