Re: INPUT type="file" name= value= problem
| From: | Jason G. | Date: | Sun, 14 Oct 2001 08:57:49 +0000 |
| Subject: | Re: INPUT type="file" name= value= problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71024@lists.php.net to get a copy of this message | ||
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
IonZoft.com
At 04:01 AM 10/14/2001 +0200, Subvertise.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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"> Regards, Bill Posters (don't prosecute me) -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com> iQA/AwUBO8jkCP4H8PnbFwvHEQJaagCfWVXK/a3sKn17h/uAqoNDfzNelNsAn0fE 17mut2frH3RsdFX/IBcU4uJY =JBGL -----END PGP SIGNATURE----- -- 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