I am saving my files outside the root directory to avoid direct access and for security reason. Don't know how to access those files
Asked 10 Dec, 15 at 02:32 PM
Arjun Singh Use This Code:
$mime_type = Mime_content_type("Path To File");
header('Content-Type: '.$mime_type);