SamEA wrote:What exactly are you trying to accomplish?
<?php echo $scripturl. "download.php?a=" . $filecrc . "&b=" . md5($foundfile[2].$_SERVER['REMOTE_ADDR']) ?>
header('Content-type: application/octetstream');
header('Content-Length: ' . filesize("./storage/".$validdownload[0]));
header('Content-Disposition: attachment; filename="'.$validdownload[1].'"');
readfile("./storage/".$validdownload[0]);
Return to Daddy's File Host v1.X
Users browsing this forum: No registered users and 15 guests