Reply to Re: class.upload with code Igniter? How to do?

Re: class.upload with code Igniter? How to do? new!
by jonatan fróes, 16 years ago
Instead extend, I create a new library

In class.upload we do that:
$foo = new  Upload($_FILES['form_field']);  

But in CI, we load the class this way:
$this->load->library('someclass');
It seems not be able to do
$foo = $this->load->library('someclass');
or
$foo = $this->load->library('someclass', $_FILES['form_field']);

I dont know where I put the $_FILES['form_field']...

my english is poor and I dont know if you will understand me...Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important