I have a file in php that searches for files inside a directory (folder) the file is called (# file # example.mp3) and the link of that file is saved in an array
$files[] = array(
"name" => $f,
"type" => "folder",
"path" => $dir . '/' . $f,
"items" => scan($dir . '/' . $f) // <-- aqui es donde me obtiene el link para acceder, necesito reemplazar los caracteres # por _
could you help me ... Thanks