PHP Form that allows you to attach a file


I’ve recently learned how to do a PHP form from your great tutorials! Now I would like to add the ability for the user of a web site I’m working on to be able to attach a file with the form. Does anyone know how I would do this or of a tutorial I could refer to?