Thank you for the reply bbaassiri, however I don't really understand. Where would that code go? Is that code meant for a blank page that automatically starts the upload process?
Sorry, I'd try testing and see what happens, but I'm not at home right now, therefore I'm not able to play around with the code.
I looked up readfile(), but I don't know what output buffer it's talking about. Do I need to set one up?