Upload has issue with some files "You did not select a file to upload" |
[eluser]Diggory Laycock[/eluser]
After a bit of reading the PHP docs I noticed this: http://uk2.php.net/manual/en/features.fi....php#73762 Quote:if POST size exceeds server limit then $_POST and $_FILES arrays become empty. You can track this using $_SERVER['CONTENT_LENGTH']. Code: <?php So it's not CI missing an error - PHP fails silently, unless the upload form has an accurate hidden input before the file input e.g. Code: <input type="hidden" name="max_file_size" value="1000" /> |
Welcome Guest, Not a member yet? Register Sign In |