Re: File Download Inquiry
| From: | Douglas McKenzie | Date: | Mon, 19 Nov 2001 19:27:31 +0000 |
| Subject: | Re: File Download Inquiry | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75138@lists.php.net to get a copy of this message | ||
You can just link to the file eg
<a href="yourfilenamehere.whatever_ext">download file</a>
just make sure the path is correct.
Joe Van Meer wrote:
> Hi there. How would I go about downloading a file off of the server. The
> filename will always be the same in my case. Say it is sitting in a
> directory called 'textfiles'. What method/function would I use to download
> it to a user's local system?
>
> Thx Joe:)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net