Forum Moderators: coopster
I have this php page that makes the user upload all file types to the database. The problem is, when you upload 2Mb+ size file, it won't allow it.
Is there a way to edit the php.ini on cpanel on a shared hosting? Any possible way to edit the php.ini?
:S
if (ini_get('upload_max_filesize') && ini_get('post_max_size')) {
@ini_set('upload_max_filesize', '30M');
@ini_set('post_max_size', '30M');
}
dc