Re: downloading files

From: Date: Mon, 11 Dec 2000 17:11:37 +0000
Subject: Re: downloading files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29708@lists.php.net to get a copy of this message
Yes, header('Content-Type: application/your_type_here'); readfile('/path/to/the/file/you/want/to/send/file.whatever'); exit(); :) -jeremy brand Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - At least for the people who send me mail about a new language that they're designing, the general advice is: do it to learn about how to write a compiler. --Dennis Ritchie On Mon, 11 Dec 2000, Deepak Chawla wrote: > Date: Mon, 11 Dec 2000 11:06:20 -0600 > From: Deepak Chawla <dchawla@cse.unl.edu> > To: php-general@lists.php.net > Subject: [PHP] downloading files > > Hi! > is there a way in which i can allow users to download files from my site > without letting them know the location on the file on my server ?? i'm > using html+javascript on the client side and php on the server side. > > thanks > > -deepak > > --------------------------------------------------------- > SaVe ThE WoRlD......SoMe Of ThE PeOpLe I LoVe LiVe ThErE > --------------------------------------------------------- > > > -- > 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 > >

« previous php.general (#29708) next »