S soft2050 Distinguished Member 2,942 2010 438 Jan 8, 2012 #21 PHP: $folderx = str_replace(' ', '.', basename($thefolder));