Re: Document Library

From: Dave White (david.white_at_ita-group.co.nz)
Date: 03/09/04


Date: 9 Mar 2004 11:40:06 -0800


> 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.



Relevant Pages

  • Re: Executing PHP files on remote web server
    ... We have a commercial web host servicing our external clients, but we don't want to move the entire app and database to the web host because a lot of the data is sensitive. ... By loading the non-sensitive data into the web host's MySQL tables, our external clients can see their reports on the web. ... our web host put a firewall on the MySQL database so we can't insert data into the remote tables directly from the PHP pages running on our own web server. ...
    (comp.lang.php)
  • Database Comparison?
    ... after using it that php is built more than anything to easily sit on ... talking to a mysql database and spitting out html to ... use these things better I've made a rudimentary gui designer and some ...
    (comp.lang.php)
  • Re: How to use SQL "LIMIT" keyword against an MDB file
    ... that it will work with an MSAccess MDB file. ... PHP Programmer Guy. ... Except you've just "solved" his issue with a database redesign. ... from MySQL to Access in the first place. ...
    (comp.lang.php)
  • Re: help me
    ... field automatically assign its self a value of the next auto inc number ... I have a mysql database and i have it displaying whats currently there ... using php, the problem is that I cannot insert into the database ...
    (comp.lang.php)
  • Re: help me
    ... field automatically assign its self a value of the next auto inc number ... I have a mysql database and i have it displaying whats currently there ... using php, the problem is that I cannot insert into the database ...
    (comp.lang.php)