473,414 Members | 1,751 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Document Library

Hi All,

I need to create a simple document library - basic features to include
the users being able to select a category / sub-category and view a
list of files / descriptions that match the selection and then to be
able to download the files as necessary.

There would also need to be a simple admin function to allow the admin
to upload new files / descriptions. A seach function would be nice
but not essential.

I would like to do this with PHP / MySQL, but as a relative newbie I
need some help. I have tried to find some scripts on the net that
would be a starting point, but haven't been able to find any. Can
anyone point me in the right direction? I'm sure this is something
some one some where has done before!

Thanks in advance

Dave
Jul 17 '05 #1
2 1940
Dave White <da*********@ita-group.co.nz> wrote in message
news:fd**************************@posting.google.c om...
Hi All,

I need to create a simple document library - basic features to include
the users being able to select a category / sub-category and view a
list of files / descriptions that match the selection and then to be
able to download the files as necessary.

There would also need to be a simple admin function to allow the admin
to upload new files / descriptions. A seach function would be nice
but not essential.

I would like to do this with PHP / MySQL, but as a relative newbie I
need some help. I have tried to find some scripts on the net that
would be a starting point, but haven't been able to find any. Can
anyone point me in the right direction? I'm sure this is something
some one some where has done before!

Thanks in advance

Dave


Ok, what you need to do here (at least from the sounds of it) are to create
a few elements to your site:

1. A file upload system. This is covered quite well in Chapter 18 of the
PHP manual.
2. A login system. I suggest using a combination of Sessions (XCV: Session
handling, also in the php manual), as well as a mysql database for storing
encrypted username/password combinations.
3. A database that stores the file names, uploaders ip address, username of
uploader, date of upload, and description of upload in mysql. You will
probably have to create a key word search for this with a dynamically
generated query.

I heartily suggest reading the relevent sections of the manual, and then
asking specific questions as you work through each section. The mysql
manual is also indespensible in the same fashoin. If it just sounds like
I'm giving you a long winded RTFM response, you would be correct, however,
I'm doing it with the best of intentions. I've pointed out the relevent
sections to focus on and by working through it a step at a time, you'll have
something you truly understnad when you are done. By the way, my first PHP
project was similar to this one (although I had experience in a number of
other languages and sql to begin with). Good luck and post any specific
questions as you get to thom :)
Jul 17 '05 #2
> Ok, what you need to do here (at least from the sounds of it) are to create
a few elements to your site:

1. A file upload system. This is covered quite well in Chapter 18 of the
PHP manual.
2. A login system. I suggest using a combination of Sessions (XCV: Session
handling, also in the php manual), as well as a mysql database for storing
encrypted username/password combinations.
3. A database that stores the file names, uploaders ip address, username of
uploader, date of upload, and description of upload in mysql. You will
probably have to create a key word search for this with a dynamically
generated query.

I heartily suggest reading the relevent sections of the manual, and then
asking specific questions as you work through each section. The mysql
manual is also indespensible in the same fashoin. If it just sounds like
I'm giving you a long winded RTFM response, you would be correct, however,
I'm doing it with the best of intentions. I've pointed out the relevent
sections to focus on and by working through it a step at a time, you'll have
something you truly understnad when you are done. By the way, my first PHP
project was similar to this one (although I had experience in a number of
other languages and sql to begin with). Good luck and post any specific
questions as you get to thom :)


Thanks for the advice. I have the user login system done and it works
well - it uses sessions as you suggest. I am reasonably confident
that I can get the upload system working. As you say there is lots of
coverage on how to do this on the various PHP sistes / books. The bit
that worries me is the database and the download section - Guess I'll
have to hit the books and experiment.

Thanks again

Dave.
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: hareesh | last post by:
am opening wordapplication object (Have a reference to Microsfot Interop assembly) on the server side in sharepoint document library even handler. I am getting "access is denied" exception. The...
1
by: Peter S. | last post by:
There are some files in a Sharepoint document library that I need to access from a C# Webcontrol. The problem is that when the user runs the ASP.NET webpage they will be coming in with a...
0
by: abhijeet.tale | last post by:
I am a newbie to .NET programming. I need to get the names of the documents in the document library in a particular sharepoint site. Is the code below correct? SPSite site = new...
0
by: manishahowale | last post by:
Hi, We are developing resume section on our intranet site where all employees resumes will be stored in sharepoint document library in one master format. As we work with different clients, clients...
1
by: tagg3rx | last post by:
Hi all, I'm trying to figure out how to facilitate a window in my web application that will allow users to drag and drop files into it which will inturn trigger the files being uploaded to my...
0
by: AkaShade | last post by:
I have an Excel 2007 worksheet that I enter customer data into and from that a portion of the data is entered into a contract in Word 2007. Currently I have linked data from the Excel worksheet to...
0
by: BHerz | last post by:
I have an Access 2007 application which displays the File Name of documents located on a Windows SharePoint V3 Site. When you click on the file name the file opens in "Read Only" format. I am not...
1
by: jags | last post by:
HI All I was trying to create Document librray programatically in a Sharepoint Site and is not working for me.I was trying to implement this as an Event Handler. The aim of the code is to create...
2
by: ismailc | last post by:
Good day, I need help. I would like to Update a Sharepoint List (Document Library) Folders using Web Services with Javascript. I have searched on Goggle but nothing that updates a document...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.