Building a file uploader in PHP


Question about file uploading. I have a very simple self processing form, the file upload of which works fine. I have a simple rotating graphic …your files are uploading please wait… that is set to show when the form is submitted. But, no matter where I put the file upload code on the form on submit the form seems to process all the information before showing the uploader. Any ideas or tutorials out there?