Welcome Guest, Not a member yet? Register   Sign In
uploaded file exceeds the maximum allowed size
#1

[eluser]Zeeshan Rasool[/eluser]
Hi, plz help me in this case,
An error is there!
Error:The uploaded file exceeds the maximum allowed size in your PHP configuration file

My code is:

$config['upload_path'] = './resources/admin_videos';
$config['allowed_types'] = 'mp3';
$config['max_size'] = '500000';
$config['overwrite'] = false;

$this->upload->initialize($config);
$this->load->library('upload', $config);
if(!$this->upload->do_upload($video))
{
$error = array('error' => $this->upload->display_errors());
return $error;
}
else
{
$data = array('upload_data' => $this->upload->data());
$video_path =$data['upload_data']['file_name'];

}

////////// also included 'mp3' => array('audio/mpeg', 'audio/mpg') but no result
Any guy who know the solu.
....................JamZee


Messages In This Thread
uploaded file exceeds the maximum allowed size - by El Forum - 06-25-2008, 05:27 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-25-2008, 06:32 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-25-2008, 06:36 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-09-2011, 01:48 PM
uploaded file exceeds the maximum allowed size - by El Forum - 06-09-2011, 11:15 PM
uploaded file exceeds the maximum allowed size - by El Forum - 06-10-2011, 01:39 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-10-2011, 09:53 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-10-2011, 11:12 AM
uploaded file exceeds the maximum allowed size - by El Forum - 06-11-2011, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB