max_size 0 no limit not working |
I get this error when upload image
The uploaded file exceeds the maximum allowed size in your PHP configuration file. How can I in crease can some one tell me where to place it or how to fix it? PHP Code: $config['max_size'] = 0; Code: ; Maximum allowed size for uploaded files. PHP Code: public function upload_attachments() { I created a php.ini file and added this Bud does not change any thing still get error
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
(02-14-2017, 07:58 PM)wolfgang1983 Wrote: I get this error when upload image php.ini is configuration file of PHP, not CI. If you use XAMPP, it location may be c:/xampp/php
(02-14-2017, 11:48 PM)pdthinh Wrote:(02-14-2017, 07:58 PM)wolfgang1983 Wrote: I get this error when upload image I set this to Code: $config['max_size'] = 0; I should be no limit / unlimited but not.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
Hi,
Are you sure your php.ini has been loaded? You can try to add it to your .htaccess file like this: php_value upload_max_filesize 64M php_value post_max_size 64M A good decision is based on knowledge and not on numbers. - Plato
|
Welcome Guest, Not a member yet? Register Sign In |