Re: INPUT type="file" name= value= problem

From: Date: Sun, 14 Oct 2001 11:14:32 +0000
Subject: Re: INPUT type="file" name= value= problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71031@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Good plan. Still have another slight problem however. Don't know what the filename will be until user successfully completed form. Will temp files stay around for long enough for this? If I need to copy them to a holding area' cant really I would have to generate my own temp filename, passing around in the form and clean up afterwoods. Not my idea of fun! Bill At 10:57 A 14/10/01, Jason G. wrote: >IMHO, > >The image files are already uploaded, assuming their filenames are valid, >so just write a hidden field or something that indicates to you which >files to grab off the upload dir when the form is successfully >completed. Put a note beside each already-uploaded image saying "File "so >and so" successfully uploaded." > >-Jason Garber >Have a form which is used to submit image files. If there are errors user >>is taken back to the form (with all the values they entered), given error >>message and ask to correct/resubmit. >> >>All well apart from one thing. Cant get filename of files included from >>form type=file 'Browse' input field. Thought below would work but file >>always empty. Any ideas? >> >><INPUT type="file" name="thumbnail" >>value="<?=$thumbnail_name?>" size="30"> -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBO8llif4H8PnbFwvHEQI4AACfUGdPR/zoXUboBAISYw6Av+cf8N8An28p PAWGXjmZaEQeQK/f4IGYJvLs =kRp4 -----END PGP SIGNATURE-----

« previous php.general (#71031) next »