dublindude — 2012-08-25T15:25:09-04:00 — #1
I desperately need a simple form that will give the user an option to upload a file. I know this will probably involve some php and thats fine.
Basically, all I need is a text box for their Name, one for an email address, text area for a comment, an upload button so they can select a file and send.
It can either go to a folder on the server or to an email address, whichever is easier.
Can anybody help??
dublindude — 2012-08-25T15:46:23-04:00 — #2
I have the basic html form. When the file is submitted the user can be brought to a page thanking them for the comment and upload?
<form action="" method="get" name="upload form">
Name: <input name="name" type="text" value="name">
Comment:<textarea name="comment" cols="" rows=""></textarea><br>
Upload your file<input name="upload" type="file" size="10"></select><br>
<input name="Submit" value="Submit" type="button">
cups — 2012-08-25T16:40:35-04:00 — #3
Read this PHP manual page which will walk you through all the issues, the first link shows an upload form which might be what you are looking for.
Come back if with specific questions about things you do not understand.