Hello everyone.
Can someone provide a safe php upload script and a safe .htaccess file to go with it?
Can someone provide a safe php upload script and a safe .htaccess file to go with it?
header("Content-Type: application/octet-stream");
header("Content-Transfer-Encoding: Binary");
header('Content-disposition: attachment; filename="'.$filename.'"');
echo readfile($path_to_file_on_disk);
Comment