in reply to Problem with uploading file
good news, I installed CGI.pm again and everything seems to be working perfectly now.
It's really weird, when I installed it with CPAN, it doesn't work, but when I manually downloaded it and dropped it in the right place it works. The weird thing is that it is exactly the same version.
Thanks a lot for all your help!