perchè non usi move_uploaded_file() ?