Downloading
Posted: Thu Jan 21, 2010 10:53 am
I am posting different versions of design files and I need for the files to create a pop up save dialog and not open with the default program (usually quicktime grrr). How can I do this?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$data = mysql_query("SELECT * FROM postcards ORDER BY id DESC ") or die(mysql_error());
while($info = mysql_fetch_array( $data ))
Echo "<tr><td style='vertical-align: middle; text-align:center;font-size:x-small;'>Open InDesign Files</td><td><a href='upload/postcards/".$info['zip'] . "'><img src='../associates/images/download.png' border='0' width='75'></a><br></td></tr>";
Code: Select all
<?PHP
// Define the path to file
$file = 'ryboe_tag_cloud.zip';
?>
Code: Select all
<?PHP
// Define the path to file
$file = $info;
?>