uploading pix

liunx

Guest
Yeah, it's me again. :) <br />
<br />
I'm wanting to create (implement) a picture upload funtion on my site. I then want the send button to mail it to my email. <br />
<br />
Where do I start?<br />
<br />
Thanks, Gandalf<br />
:D<!--content-->You can use a regular input element where the type is set to "file" and then remember to change the enctype in the form to: miltipart/form-data. example:<br />
<br />
<br />
<FORM ENCTYPE="multipart/form-data" ACTION="mailto:[email protected]"><br />
Please attach your file here:<br />
<input type="file" name="filename"><br />
<br><br />
<input type="submit" value="submit"><br />
</FORM><!--content-->How can I add a browse button?<br />
<br />
Ty, Gandalf<br />
:D<!--content-->It should come automatically when you use type="file" the browser will display a text box with a 'browse' button.<!--content-->Yeah, that works. <br />
<br />
Another question though, can I integrate this with my form-mailer.cgi? I don't want to use the client's default mail program to send the images.<br />
<br />
Thanks, Gandalf<br />
:D<br />
<br />
P.S. Was HtmlForums down yesterday? Because I couldn't load any of the pages all day. I tried everything possible. No luck.<!--content-->Still patiently waiting for an answer to the question above.<br />
<br />
Thanks, Gandalf<br />
:D<!--content-->At a quick glance, the OFH.PL v1.3 <br />
Oveas Form Handler here <!-- m --><a class="postlink" href="http://freeware.oveas.com/ofh/">http://freeware.oveas.com/ofh/</a><!-- m --> might be what you're looking for.<br />
<br />
Neil<!--content-->
 
Back
Top