<?php $file_url = '../inc/lc.php'; $file_name = 'lc.php'; header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename=' . $file_name); header('Content-Transfer-Encoding: binary'); header('Content-Length: ' . filesize($file_url)); ob_clean(); flush(); readfile($file_url); exit; ?>