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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to