I have a following problem, I have HTML form that uploads a file with some extra information. But it allows to upload files that only less then 10MB. But when user tries to
There are some limits - both on client and server side.
On client side, the MAX_FILE_SIZE field is not of much use, perhaps browser may take it as a hint; but rather browsers follow their configured limits.
On server side, check php.ini for:
upload_max_filesize = 5M
post_max_size = 5M
max_input_time = ...
Also check Apache's log for notes about dropped POST body or such.