Are you getting an error message?
There are two settings in PHP that limit the size of an upload -
Note: if you exceed the post_max_size, the $_FILES[...] variable won't exist at all and you must test, something like this -
Here is some additional error checking and reporting you can put in your code to tell you more about what is going on -