I would suspect that the code itself is fine, especialy considering PHP is client side and works for some people.
The issues with different browsers could be the timeout setting people have... or just a lack of support for the "file" form input type.. Opera had that issue for a while..