Re: I know POST Uploads, what about "downloads?"

From: Date: Fri, 13 Apr 2001 10:33:59 +0000
Subject: Re: I know POST Uploads, what about "downloads?"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48460@lists.php.net to get a copy of this message
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 + pylem@sympatico.ca + ======================

« previous php.general (#48460) next »