Ante todo bienvenido al foro
liepzingsystem,
cuál es el problema que tenes?
links.php
Código PHP:
<a href="my_php.php?f=imagen.jpg">bajar imagen.jpg</a>
<a href="my_php.php?f=logo.png">bajar logo.png</a>
<a href="my_php.php?f=flash.swf">bajar flash.swf</a>
-----------------------------------------
my_php.php
Código PHP:
$f = $_GET["f"];
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=\"$f\"\n");
$fp=fopen("$f", "r");
fpassthru($fp);
tendría que funcionarte, cualquier problema me comentas,
Saludos.