Re: Multi Uploads

From: Date: Thu, 02 Aug 2001 04:55:33 +0000
Subject: Re: Multi Uploads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60827@lists.php.net to get a copy of this message
> I have a page that clients are able to up load to their site. I want to > elimanate have? a bunch of upload buttons. How would I go about using only > one button for uploads without losing the browse button for each form > object? Better yet how would I have the client enter a number for the > number of uploads they want? Yes you can RTFM me :) Each <INPUT TYPE=FILE turns into a Browse... button in a FORM, and you can have as many as you like** You could ask how many uploads on one page, and give them that many <INPUT TYPE=FILE lines on the next... You could force them to gzip the files into one package, and unzip them on the server. :-) You could provide 10 upload buttons (or some obscenely large number) and only use the ones they send. Unused Browse... buttons will have 'none' for your $files[] variable. ** There probably *IS* some upper bound somewhere in each client OS as to how many Browse... buttons are legit. You'll probably never hit it... -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#60827) next »