<?php $file = "/tmp/testfile"; header("Content-Description: File Transfer"); header("Content-Type: application/octet-stream"); header("Content-Disposition: attachment; filename='" . basename($file) . "'"); readfile ($file); ?>
Welcome to FreeSoftwareServers Confluence Wiki
Overview
Content Tools
1 Comment
Anonymous