RE: [PHP] input type=file

From: Date: Sat, 17 Feb 2001 00:35:07 +0000
Subject: RE: [PHP] input type=file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40271@lists.php.net to get a copy of this message
that would be one option... however, if you're going to let them navigate through different directories, it would be a bit tougher in a dropdown... but if all you need is to display a list of files to them, then that would work great.... Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP, and mySQL http://www.wizaerd.com ================================= > -----Original Message----- > From: Jerry Lake [mailto:jerryl@europa.com] > Sent: Friday, February 16, 2001 5:16 PM > To: php-general@lists.php.net > Subject: RE: [PHP] input type=file > > > so then maybe, if I understand it correctly > (which may or may not be true) I could read > the contents or a directory and populate a > dropdown list...? > > Jerry Lake - jerryl@europa.com > Web Designer > Europa Communications - http://www.europa.com > Pacifier Online - http://www.pacifier.com > > > -----Original Message----- > From: Joe Sheble (Wizaerd) [mailto:JustForMailingLists@wizaerd.com] > Sent: Friday, February 16, 2001 4:16 PM > To: php-general@lists.php.net > Subject: RE: [PHP] input type=file > > > to put it simply, you can't... > > but you could put an input type of text with a link or a button next to it > manually, and then on the onClick of either this button or link open a > secondary window running a PHP script that reads a particular directory > structure with full navigation support. Then when the user clicks a > filename, place that into the input in the first window and close the > secondary window. > > However, this would require JavaScript and a full recursive directory > browser script in PHP. I have something similiar to this in a content > manager script I've written, but it doesn't check other directories. It > picks an image from an /ImageLibrary/ directory, allowing the user to > preview an image, upload new images, delete images, rename > images, but most > importantly pick a filename. Then it populates a field in the content > manager screen for saving to a database. > > Joseph E. Sheble > a.k.a. Wizaerd > Wizaerd's Realm > Canvas, 3D, Graphics, > ColdFusion, PHP, and mySQL > http://www.wizaerd.com > ================================= > > > -----Original Message----- > > From: Jerry Lake [mailto:jerryl@europa.com] > > Sent: Friday, February 16, 2001 4:57 PM > > To: php-general@lists.php.net > > Subject: [PHP] input type=file > > > > > > this doesn't relate directly to PHP, > > but it will when I am done. > > > > How can I create a file input that > > reads from a directory on the server > > instead of the users machine > > > > Jerry Lake - jerryl@europa.com > > Web Designer > > Europa Communications - http://www.europa.com > > Pacifier Online - http://www.pacifier.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 > > > > > > > > > -- > 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 > > > > -- > 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 (#40271) next »