Jump to content

HTML form with image upload


blink359

Recommended Posts

Hello, I am making a form for in which people will enter there name adress etc and then upload an image to the form which they will want canvassed, the form must then email every field and the picture to the recepitent. but i dont know how to do the image part. here is what i have so far

                  <form>
                    <p>Full Name:<br />
                  <input type="text" name="name" border="1"  /><br />
                  Address:<br />
                  <input type="text" name="address" border="1"  /><br />
                  County:<br />
                  <input type="text" name="county" border="1"  /><br />
                  Post Code:<br />
                  <input type="text" name="postcode" border="1"  /><br />
                  Phone Number:<br />
                  <input type="number" name="phone" border="1"  /><br />
                  Paypal Email:<br />
                  <input type="email" name="email" border="1" />
                    </p>
                    <p>Size:</p>
                    A3 Approx. 10" x 14" £21.99 <input type="radio" name="size" value="A3"/><br />                  
                    A2 Approx. 16" x 20" £25.99 <input type="radio" name="size" value="A2" /><br />                  
                    A1 Approx. 20" x 30" £29.99 <input type="radio" name="size" value="A1" /><br />
				A0 Approx. 30" x 45" £69.99 <input type="radio" name="size" value="A0" /><br />
                    <br />
                      Image:<br />
                       <br />
                      <input type="submit" />
                    </p>
                  </form>
                  <p>If you

If you can help or give me the adress of a website that has the information i need it would be much appriciated.

 

Thanks,

 

Blink359

Link to comment
Share on other sites

  • 2 weeks later...

Hi

To upload the image you must first select the image so you will have to use a file type input in the html.

 

<input type="file" name="name" />

and for it to be uploaded you should use a development language such as php or ...

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.