Re: [PHP-DB] Need help in PHP file Management System
Hi Vinay, Eric & Everyone, Sorry, I was down with fever 'malaria' since last Friday. I was hospitalized for 3 days. It will take more 2-3 days for me to start working again on my project. Anyways till now I didn't get anything which will solve my issue. Lets see if anyone comes with something new. Best,
Re: [PHP-DB] Need help in PHP file Management System
Hi Nagendra, Any progress on the task you were at? On Fri, Sep 18, 2009 at 12:40 AM, nagendra prasad wrote: > Eric, I am new to file or content management. So, if possible can you send > me few scripts or some links from where I can learn more about it? > > > Best, > >
Re: [PHP-DB] Need help in PHP file Management System
nagendra prasad wrote: Eric, I am new to file or content management. So, if possible can you send me few scripts or some links from where I can learn more about it? Have a look at bitweaver ... http://bitweaver.org What this does is creates a set of directories for storage, and under that one directory for each user, and stores all their files within their own base folder. -- Lester Caine - G8HFL - Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Need help in PHP file Management System
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" To: "Vinay Kannan" Cc: 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
Re: [PHP-DB] Need help in PHP file Management System
Eric, I am new to file or content management. So, if possible can you send me few scripts or some links from where I can learn more about it? Best,
Re: [PHP-DB] Need help in PHP file Management System
- Original Message - From: "nagendra prasad" To: "Vinay Kannan" Cc: Sent: Friday, September 18, 2009 2:16 AM 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. This may or may not need. hash the file to prevent unauthenticated modified. version controlling. tagging pls correct me if I'am wrong !!! - Eric > > Guys plz help me > > Best, >
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,
Re: [PHP-DB] Need help in PHP file Management System
I would think, since you already have different users, so most probably you would be getting them registered, so maybe at the time of the registration, you could create folders for each user, and the files they upload would be on to the folders with their username, the folder securities on the server should be taken care of. for instance, if the user is say, Vinay (thats me) and ur website is www.abcdefg.com then when i register, it would create a folder for me, so the url would be something like www.abcdefg.com/vinay, and the files uploaded by me would be in the folder vinay, but the files would be accesible to me alone, not the other visitors of the website. Guys please correct me if I am wrong, but I think this is a good possible way of doing it. Thanks, Vinay Kannan On Thu, Sep 17, 2009 at 10:05 AM, nagendra prasad wrote: > Hi All, > > I need help in PHP file management system. So, I am working on my project > in > which user will upload a file on the server. I know how to upload a file on > server using PHP. But the problem is how to differentiate the different > uploaded files with different users. Please help me with this. > > Best, > > -- > Guru Prasad > Ubuntu Voice GTK+ Forum >
[PHP-DB] Need help in PHP file Management System
Hi All, I need help in PHP file management system. So, I am working on my project in which user will upload a file on the server. I know how to upload a file on server using PHP. But the problem is how to differentiate the different uploaded files with different users. Please help me with this. Best, -- Guru Prasad Ubuntu Voice GTK+ Forum