[eluser]reviloera[/eluser]
am using fedora 13 when uploading image i get this error
The upload destination folder does not appear to be writable. the image folder i have set to chmod 777
what can the problem be thanx.
Code:
function execute_all()
{
if($_FILES['userfile']['error'] != 4)
{
$this->do_uploadx();
}
}
function do_uploadx()
{
$config['upload_path'] = './images/';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size'] = '200';
$config['max_width'] = '1024';
$config['max_height'] = '768';
$this->load->library('upload', $config);
if(!$this->upload->do_upload())
{
$error = $this->upload->display_errors();
echo $error;
}
else
{
echo $this->upload->data();
}
}
images is in the root of CI