Click to See Complete Forum and Search --> : Upload Files "into" the website


Daria
12-05-2003, 10:14 AM
I want to create a directory on the website where visitors would be able to upload their own text files (*.doc) into that directory and see the listing of available files. (It would be a password-protected area for members, so I am not worried about spam and stuff).

How do I approach this task?

for example, people would see current list of available docs,

essay1.doc
essay2.doc
essay3.doc


then have a button that would say something like
click here to post your essay
(and after they upload the list would show


essay1.doc
essay2.doc
essay3.doc
essay4.doc
)

the thing is - I can put the "browse and upload" function, but I don't know how to make it appear in the "directory" listing... Would there be some PHP involved? Or something else? Please, advise.

pyro
12-05-2003, 10:59 AM
Yes, either PHP or some other server-side language.

ray326
12-05-2003, 02:33 PM
If you don't have absolute requirements for the presentation of the file listing then the web server can do that for you if you allow indexing in that directory and you don't have an index.html in there. With Apache you can even add custom header and footer files in there to pretty it up a bit.

Oh, doc files aren't text files. 99.9% of the web servers out there will call them application/word not text/plain.

deyaa
03-01-2006, 07:47 AM
and I also need to reserves a private folder for each member, with maximum size

how can I do this? especially the part of specifying a maximum size for each user

LiLcRaZyFuZzY
03-01-2006, 08:01 AM
What server-side language are you using?
I'd suggest posting in that specific forum, e.g. the PHP-forum for PHP, etc..