CodeIgniter Forums

Full Version: Upload file problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hello ,

I have searched on this forum and tried everithing but nothing resolved my problem.

I am trying to upload a fie using the example from CI userguide and I'm getting an error.

"The upload path does not appear to be valid."

I though it was from XAMPP but I uploaded on my hosting account and same problem

I add this at line 713 on upload.php and get the link and seems it is ok

print $this->upload_path; shows me http://localhost/test/media/

The config looks like these
$config['upload_path'] = base_url().'media/';

can anybody help me with this problem?

El Forum

$config['upload_path'] = './media/';