i write a html like this <A href="test.php">Download </A>
and the test.php :
<?
header("content-type:application/octet-stream");
...... // read a file which is stored in database to $app
echo $app;
?>
this will work, but the downloaded file will always be named as
"test.php",how can i set the name for this file. Or any other way to
download a file stored in db ?
thanks.