# PHP Mail Form with .JPG Attachment

**URL:** <https://forum.kirupa.com/t/php-mail-form-with-jpg-attachment/238648>\
**Category:** programming\
**Created:** [September 13, 2007, 3:52pm UTC](https://forum.kirupa.com/t/php-mail-form-with-jpg-attachment/238648 "2007-09-13T15:52:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpearson311](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jpearson311](https://forum.kirupa.com/u/jpearson311)\
**Post date:** [September 13, 2007, 3:52pm UTC](https://forum.kirupa.com/t/php-mail-form-with-jpg-attachment/238648/1 "2007-09-13T15:52:06Z")

</div>

I’m presently building a php driven form that will be emailed to an address, but I need to allow the user to browse their computer for a .jpg, which will be sent in the email as an attachment. Does anyone know of a good tutorial on how to do this or can you point me in the right direction? Thanks!

JPearson311
