> header ("Content-Disposition: attachment; filename=download.tar");
> readfile($filename);
> ===================end code snippet=========
> What I need to do, is specify the default directory for this file to be
> saved to.  Does anyone know how to do this?

Some browsers might let you use a full pathname in the "filename=" bit and
prompt with that pathname, if the user even has such a pathname in the first

If not, there probably isn't any way to do that.

WARNING [EMAIL PROTECTED] address is an endangered species -- Use
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm

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