Hi all,

i m trying to know whether there is any way to force the user to download file to a predefine fixed path , without showing the download dialog box.

i have done the following, but it shows the download dialog box to user.

header("Content-type: application/audio");
header("Content-Length: " . $m_filesize );
header("Content-Disposition: attachment; filename=" .$rs->fields(0,"filename") );

$filename = $m_tmppath;
$handle = fopen ($filename, "r");
$contents = fread ($handle, filesize ($filename));
fclose ($handle);
echo $contents;