0

Possible Duplicate:
Upload max size in PHP?

upload_max_filesize = 500M
post_max_size = 500M

i make these 2 settings in php.ini and upload video less than 400MB but can't upload

Community
  • 1
  • 1
  • 3
    If you "can't upload", maybe your ethernet cable has come loose? Or more seriously, you should describe what you tried, what error behaviour you got, and what you expected to happen. – Andrzej Doyle Nov 25 '10 at 09:36
  • 1
    What's the setting in `max_input_time`? – bcosca Nov 25 '10 at 09:36

1 Answers1

1

It's hard to understand your question, but those variables aren't the only ones needed for a successful file uploading.

  1. Check if your HTML <form> has the proper enctype set.
  2. You have to add <input type="hidden" name="MAX_FILE_SIZE" value="512000" /> to your <form> too. This input field specifies the maximum uploadable file size in bytes.
tomsseisums
  • 13,168
  • 19
  • 83
  • 145