|
Almost gave a you a solution to save uploads untill I re-read it.
Well i suppose you could store the path in your DB and have some reference linking it to the corrrect row in the DB.
They click the link the script gets the path and allows a down load, buety here is you can increment a counter in the DB to show how many downloads its had.
Infact thats probably what I would do.
<a href="{site}?download=1>download</a>
select path from downloads where id=$_get['downloads'];
As for initiating a save box, perhaps throw a header("Location:" . $row['path']) assuming your path contains the file name + extension. This should then open up the save box and allow you to save the file.
Of course I have not tried this (no need myself) but it looks sound and it would work methinks.
Ibbo
Last edited by ibbo; 06-08-2005 at 12:49 PM..
|