Re: Download the whole directory

From: Date: Sun, 21 Oct 2001 17:48:56 +0000
Subject: Re: Download the whole directory
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71748@lists.php.net to get a copy of this message
U can either use something to zip the whole directory up, and then download that 1 zip file. OR You could use some JScript or something to make X number of windows popup, each with a file to be saved... Other than that I'm not sure what u can do... Unless you generate GRX files or similar things that are read by programs like Getright... Just my comments Andrew ----- Original Message ----- From: "Mark Lo" <mark@3dsources.com> To: <php-general@lists.php.net> Sent: Sunday, October 21, 2001 6:16 PM Subject: [PHP] Download the whole directory > Hi, > > I know I can use the following code to download a single file, but how > can I download the whole directory by using the following code. Please > help.. (I am using PHP & Apache) > > <?php > Header("Content-disposition: attachment; filename=\"Quickstep.doc\""); > Header("Content-type: application/download"); > readfile($path/Quickstep.doc'); > ?> > > Thank you > > Mark > > > -- > 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 (#71748) next »