CodeIgniter Forums
how to upload file using password - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how to upload file using password (/showthread.php?tid=8164)

Pages: 1 2


how to upload file using password - El Forum - 05-08-2008

[eluser]RaiNnTeaRs[/eluser]
I think so T-T.btw my directory my CI files saved in public_html my upload path should be public_html/storage


how to upload file using password - El Forum - 05-08-2008

[eluser]RaiNnTeaRs[/eluser]
the funny thing is, I can download files from the same folder, but i can't upload anything,/sob


how to upload file using password - El Forum - 05-08-2008

[eluser]Pascal Kriete[/eluser]
Ok, so your upload path would be:
Code:
$config['upload_path'] = './storage';

The code in your original post is missing the = sign for the upload path. Also, wrapping it in [ code ] tags will help get better feedback.


how to upload file using password - El Forum - 05-08-2008

[eluser]RaiNnTeaRs[/eluser]
Thanks all, for all the comments.I've solve it, the main problem is , with the upload path,I've change it with mysite/myusername/home/public_html/storage and done with it.
About the '=' in my original code, I copy-paste the wrong code lol.
Maybe someone want to give better explanation about how to get the active directory path ? Big Grin