File Management System -- keep all your files organized for your group/company
by Grant Kessler · 05/23/2007 (8:00 am) · 7 comments
Ive kinda created my own little file management system. What it does is it uses php and mysql to upload, view, and check in/out files. When its uploaded its put into on folder called upload. You can then view all the files in the upload folder. If you click on a file you have the option to view some information about the file, and check it out. Think of this as a library, if a file is check out, no one else can download it. This keeps each file as new as possible. Once youre done editting the file you can check it back in under check in, dont use upload to check in a file it wont work. You can add users to login to view the files in a program like phpmyadmin or something, i didnt make a user creation on this. Theres a few problems ill mention, its really not the most secure, safest way to do this, the code stops some sql injection, but all in all, its ok in security, just not the greatest. The other thing is, when you upload a file or check in a file, you have to put the acutal filename and file extension in the "filename" field. Example, if you have a document called Red, in the filename field, you HAVE to put Red.doc or it will not work at all. I have it in kind of a loop for check in, and if you dont put it in when you upload youll have to go in and edit it in phpmyadmin or something. Also, if someone else is an idiot or stupid, and they didnt check it out, and have an old version, and check it in, it will replace it. But, when the person who actually checked it out checks it back in, it will be fine, and hopefully the retard won't do what he did again. But it works, ive been using it a while, so if you need something simple like this, its free, enjoy. Just please, keep the config header on there with everything. I will eventually try to make this better, and will post the ekosoft solutions site when its done, and will probably have an update for FileShare when the site is done. Give me feedback guys if you try this out, becuase im the only tester so far.
Link to download
Download Here
Link to download
Download Here
About the author
Recent Blogs
• Progress...• Progress on Relic Online
• Relic Online
• Relic Online Update
• ThePort
#2
05/24/2007 (6:18 am)
jup. Seems the perfect way to handle files shared by many people. That way, you don't need to have nifty CVS or SVN services available.
#3
if anyone uses it let me know how it runs. i think im going to make it a bit more secure today, because if anyones check the code, you can bypass the log in right now and just go to the upload page or any other page for that matter.
05/24/2007 (10:42 am)
yeah, its really nice, the only thing is if someones editting you gotta remember what you want to add, but its no biggie. xDif anyone uses it let me know how it runs. i think im going to make it a bit more secure today, because if anyones check the code, you can bypass the log in right now and just go to the upload page or any other page for that matter.
#4
I really need some testers, so if you have the requirements (is really just a server that supports php5 and have at least 1 mysql database) please test this, so i know how it works for ya. Even better if you need something like this and test it. Thanks.
05/24/2007 (11:31 am)
Ok, i went ahead and updated a little bit. Now, every page is secure, you have to be logged in to view them. I also added an admin page, where you can add users. This page is also secure, and only the admin can get into it. In the instructions it tells you how to set all this up. Now its a bit easier to have users and add them. When i get more time, im going to make it where if someone checks out something, they have to be the one to check it back in, and it will show on the file information who checked it out. After that works, i cant think of anything else to add it. :)I really need some testers, so if you have the requirements (is really just a server that supports php5 and have at least 1 mysql database) please test this, so i know how it works for ya. Even better if you need something like this and test it. Thanks.
#5
:)
I am eventually going to make this a pay-to-use web-based application, but i need it to be tested first. So please, feel free to get it for free right now, i need to make sure there's no bugs at all! If you get it while its in testing, you keep it for free, which can be very usefull if you need something like this, becasue i didnt find one free file management system that had a check in/out feature like this, most of them are like $50. So use it! All i ask is if you download this, please, let me know how it goes and how you like it. And yes, i rated my blog as a 5, cause it is useful dangit! :)
again, any feedback appreciated, especially if you try it out!
thanks!
05/24/2007 (11:56 am)
Ok, i was bored today and called in work, im an idiot. Anyways, did the last major update for a while on this. I went ahead and made it where if you check something out, you are the only one that can check it back in. This makes it even safer, so little jonny cant go check something in while you have it checked out and screw up everything!:)
I am eventually going to make this a pay-to-use web-based application, but i need it to be tested first. So please, feel free to get it for free right now, i need to make sure there's no bugs at all! If you get it while its in testing, you keep it for free, which can be very usefull if you need something like this, becasue i didnt find one free file management system that had a check in/out feature like this, most of them are like $50. So use it! All i ask is if you download this, please, let me know how it goes and how you like it. And yes, i rated my blog as a 5, cause it is useful dangit! :)
again, any feedback appreciated, especially if you try it out!
thanks!
#6
There is also a library which deals with xss and sql injection etc. If you like I'll dig up the links, just mail me.
05/25/2007 (1:00 pm)
I'm sure there is a php document manager called Owl or something that allows checkins, version history etc, you may want to check it out.There is also a library which deals with xss and sql injection etc. If you like I'll dig up the links, just mail me.
#7
as to sql injection, the only thing i was too worried about with that was user input, which, the code i used should stop most sql injection with the log in username, and the user can really set too much else, except maybe the filename which is an easy fix and i forgot about. as to xss, i dunno :x im not the best coder, i just made something simple and safe that works for now. it most assuredly isnt the best created software out there, but, its free for now, and it works, been using it for about 3 months now with almost 10 users.
05/25/2007 (9:23 pm)
There was something, i think it was owl, but i couldnt get it to work on my server for some reason, i dont really understand why, so i just made my own. so i guess i should rephrase that there are close to none for free. :/as to sql injection, the only thing i was too worried about with that was user input, which, the code i used should stop most sql injection with the log in username, and the user can really set too much else, except maybe the filename which is an easy fix and i forgot about. as to xss, i dunno :x im not the best coder, i just made something simple and safe that works for now. it most assuredly isnt the best created software out there, but, its free for now, and it works, been using it for about 3 months now with almost 10 users.

Torque Owner Aaron E
Default Studio Name
;)
It took me a while to figure out what this was, but once I waded through the post, I finally 'got it'. Very interesting.