You can ask for additional information when you prompt for the upload; just hit REPLY to this note and pay attention to how the message board software does it. The form should be
enctype="multipart/form-data" method="post"
You refer to $FILES[] to access the upload information, and $POST[] to access other form fields.