Re: download link

From: Date: Tue, 11 Jun 2002 15:46:30 +0000
Subject: Re: download link
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101561@lists.php.net to get a copy of this message
You mean like: <?php $file = "whatever.exe"; echo "<a href=\"downloads/$file\">Get This File</a>"; ?> Which would make a download link for "downloads/whatever.exe" in HTML? Adam Voigt adam.voigt@cryptocomm.com On Tue, 2002-06-11 at 11:43, Kris Vose wrote: > are there any php functions that handle downloads? For Instance I want to create a link that > contains a url string. In this string a variable is defined as a file. This file will be > downloaded when the user clicks on the link. How do you handle this file in php? Is there a > function that will do this. I have tried the copy function but it does not seems to work. > > Kris > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#101561) next »