Re: Need help in PHP file Management System

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: "Vinay Kannan" <vinykan@xxxxxxxxx>
Cc: <php-db@xxxxxxxxxxxxx>
Sent: Thursday, September 17, 2009 10:16 PM
Subject: Re:  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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux