$file = "uploaded/".$rs['font']."/$file"; header("Content-Disposition: attachment; filename=$file"); it replaces the slashes "/" with underscores "__" any idea?