Hi Everyone
I have brought Mattis Photography Wordpress Theme which uses a PHP contact form
The form works great but I needs to add a feature, to allow people visiting the site the option to add a image to the form before clicking on the submit button
I thought I found the solution looking at this site
I know the code I need to add to the form starts with something like this
File Upload
(1 file only, max file size 1024kb. Allowed file formats are .doc, .pdf, .zip, .rar)
<p><input type="submit" name="submit" id="submit" value="Send Email!" tabindex="8"/></p>
<p><input type="hidden" name="submitted" value="true" /></p>
</form>
But I am not to sure about the rest, when the user clicks on submit all of the form including the attached image needs to be emailed.
Does anyone have a idea of the rest of the code should be…
any help appreciated
Michael