View Full Version : Adding an attachment within FORMS
Hi,
Is it possible to allow the user to attach a file (maybe via copy & paste) into some sort of INPUT type on a FORM? I need the email recipient to receive both the text and the attached file.
Thanks in advance,
Neil.
<input type="file"> is what you're looking for. Be aware that you'll need to use an appropriate backend, though.
Thanks Twey.
So, by doing this, the field will accept a 'pasted' file?
Or, is 'file' expected to be a pre-defined "name.ext" ..?
Can you ellaborate please - re the backend piece?
Thanks again,
N.
Or, is 'file' expected to be a pre-defined "name.ext" ..?Yes, it needs to be typed in, but a "browse" button is also provided to do this automatically.
Can you ellaborate please - re the backend piece?http://uk.php.net/features.file-upload
Thanks Twey - will give it a whirl.
Cheers,
N.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.