CodeIgniter Forums
Urgent help needed plz. How to create a 'user' folder dynamically in 'application' dir? - 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: Urgent help needed plz. How to create a 'user' folder dynamically in 'application' dir? (/showthread.php?tid=34871)



Urgent help needed plz. How to create a 'user' folder dynamically in 'application' dir? - El Forum - 10-12-2010

[eluser]zrowcrypt[/eluser]
I want to create a user folder(name = user_id) in app folder the first time user logs in?

I am not able to do that. I guess it has something to do with mkdir($path). How can I get a
$path to point to /app/users/id_12345?

I have spent a lot of time trying to figure this out. Can anyone plz help?


Urgent help needed plz. How to create a 'user' folder dynamically in 'application' dir? - El Forum - 10-12-2010

[eluser]Krzemo[/eluser]
Use APPPATH constant