CodeIgniter Forums
Upload file problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Upload file problem (/thread-39780.html)



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

[eluser]Speedy`[/eluser]
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

[eluser]InsiteFX[/eluser]
Code:
$config['upload_path'] = './media/';

InsiteFX