', ':', '"', '/', '\\', '|', '?', '*',); $allowedName = str_replace($reservedCharacters, '-', $name); return $allowedName; } }