Hello,
Someone posted this a couple of days ago, might help you.

$headertxt = "Content-Disposition: attachment; filename=\"".$filename."\"";
header("Content-Type: application/force-download");header($headertxt);

py

At 09:51 AM 4/13/01 -0400, you wrote:
>I have a large script set that allows people I host to manage their files 
>on my server until they have a FTP account setup. Unfortunately the only 
>way they can save an uploaded file is to r-click on the link in the 
>managers listing and choose "Save link target". This obviously doesn't 
>work for PHP or ASP(ugh) because the browser parses them THEN sends it to 
>the client. Is there anyway to allow the client to download the actual 
>unparsed file? Any help would be appreciated ^_^


+ ======================
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (514) 729-8100
+ [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