in the File Download common dialog, what appear is the ff lines:
"You are downloading the file:
mypage.php from myserver.com"
where mypage.php is my php download page.
How do i change it so that mypage.php will be replaced by the filename of the file to be downloaded?
Below is the download script:
<?
$filename = basename($archive_dir . $myfiles.tar.gz"
;
header("Content-Disposition: attachment; filename=$filename"
;
header("Content-Transfer-Encoding: binary"
;
header("Content-Type: application/octet-stream"
;
readfile ("$archive_dir/$filename"
;
?>
thanks,
"You are downloading the file:
mypage.php from myserver.com"
where mypage.php is my php download page.
How do i change it so that mypage.php will be replaced by the filename of the file to be downloaded?
Below is the download script:
<?
$filename = basename($archive_dir . $myfiles.tar.gz"
header("Content-Disposition: attachment; filename=$filename"
header("Content-Transfer-Encoding: binary"
header("Content-Type: application/octet-stream"
readfile ("$archive_dir/$filename"
?>
thanks,