PDA

View Full Version : Upload a file to an email using a form



taryn_sayers
19 Jan 2011, 04:57 AM
Hi,

I have inherited a site that uses a contact form, which when sent should attached an image and then send to the admin of the site with the photo attached. However, this doesnt appear to be working, it arrives with the image attached but only in a text field rather than as an actual attachement.

The form uses a CGI script which i have checked through and everything seems to be correct but the form still comes through like this:

The following Online form was submitted:

title : Miss
name : Test
address : Test
dob : 01-02-03
telephone : 123456789
submit by : ben@*********.uk
enquiry : skfhajfhaljkfhalsdf
fileupload : 56530186.jpg
button : Submit

My client is getting incredibly irrate at this not working.

Does anyone have any thoughts?

Thanks

Taryn