CodeIgniter Forums
upload file error - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: upload file error (/thread-52808.html)

upload file error - El Forum - 06-27-2012

[eluser]Ram Krishna[/eluser]
i have a controller code for uploading file.
class Quote extends CI_Controller{
function index()
function quote()
   $this->load->library('upload', $config);
It is giving error-
A PHP Error was encountered

Severity: Notice

Message: Undefined property: Quote::$load

Filename: controllers/quote.php

the 12th line is
$this->load->library('upload', $config);

Line Number: 12