# Uploading/attaching files

**URL:** <https://forum.kirupa.com/t/uploading-attaching-files/230407>\
**Category:** programming\
**Created:** [June 26, 2007, 2:16am UTC](https://forum.kirupa.com/t/uploading-attaching-files/230407 "2007-06-26T02:16:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thumbslinger](https://avatars.discourse-cdn.com/v4/letter/t/8491ac/32.png) [@thumbslinger](https://forum.kirupa.com/u/thumbslinger)\
**Post date:** [June 26, 2007, 2:16am UTC](https://forum.kirupa.com/t/uploading-attaching-files/230407/1 "2007-06-26T02:16:34Z")

</div>

I have a form. There’s a button to let a user browse and attach a file.

How do I get the php or whatever server side script I need to actually attach that file? Or is something else involved?

I don’t know how to let someone attach a word/pdf etc file to a form and then email the contents with the attachment.

thanks for the insight.
