CodeIgniter Forums
Upload file problem - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Upload file problem (/thread-39780.html)

Upload file problem - El Forum - 03-20-2011

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?

Upload file problem - El Forum - 03-20-2011

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