This is obviously a script that you have created using pieced from here and there, but it will not work. the routine that uploads the file to your site is NOT in there. Use the code in
How to upload a file using a form or use
Advanced BlueVoda Form Processor or you will not be able to upload your files.