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" <nagendra802...@gmail.com>
To: "Vinay Kannan" <viny...@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,



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to