Re: Need help in PHP file Management System

From: Date: Mon, 21 Sep 2009 06:30:12 +0000
Subject: Re: Need help in PHP file Management System
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-46520@lists.php.net to get a copy of this message
Hi Nagendra, I would save the uploaded file in a format like "usernamefilename.ext" For each user you just need to sort the directory and look for file starting with username. Hope this helps. Velen ----- Original Message ----- From: "nagendra prasad" <nagendra802000@gmail.com> To: "Vinay Kannan" <vinykan@gmail.com> Cc: <php-db@lists.php.net> Sent: Thursday, September 17, 2009 10:16 PM Subject: Re: [PHP-DB] Need help in PHP file Management System
Thanks Vinay, I think you are right. I thought about it but then server will have to manage huge set of folders. I also thought that what if we give a unique ID for each file for each user. So, when user wants to access his file the code should first checks if the unique ID and the username is matched. I just have a rough idea. If someone got my points please explain it to me. Am not sure this may be a solution. Guys plz help me???? Best,


« previous php.db (#46520) next »