Re: filename header?

From: Date: Sun, 04 Jun 2000 19:23:06 +0000
Subject: Re: filename header?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-987@lists.php.net to get a copy of this message
btw, the files are stored in a few directories that are outside the web directory (to prevent leechers), so i couldn't just redirect them to the filename (which would defeat the purpose anyways. Todd Eddy wrote: > I want to make a download script so if you called it via > download.php3?id=1 it would query an SQL database for the file location > and send it to the user. that all works fine, but I want to have it so > that the filename the person saves it as is what the name of the file > is, since right now it saves it as download.php3?id=1. Is there some > sort of filename header that I can use? > > If possible, send a cc: of all replys to vrillusions@mail.com (in > netscape, simply click the 'Reply All' button and your set) > > -- > Todd Eddy > vrillusions@mail.com > http://www.vrillusions.com/ > > -- > 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 -- Todd Eddy vrillusions@mail.com http://www.vrillusions.com/

« previous php.general (#987) next »