From: Adam S. <ad...@pe...> - 2001-10-08 18:06:00
|
So this is one of the things I'd like to see in PhpWiki so I figure I'll try and write it. What I wanted was some feedback on how it should be implemented. I would like it if files were associated with a wiki page and could then be referenced by the Interwiki mechanism. The biggest question is where should it store the files? I'm not sure it makes sense to store potentially large files in the database so I was thinking of uploading files to the filesystem, something like this: /var/www/wiki/files/PageName /var/www/wiki/files/OtherPageName and then files could be accessed via Interwiki with something like this: Files:PageName/picture.jpg Files:OtherPageName/presentation.ppt Does this make sense? Adam. |
From: Pablo R. <pr...@cl...> - 2001-10-08 18:11:41
|
>So this is one of the things I'd like to see in PhpWiki so I figure I'll try and write it. What I wanted was some feedback on how it should be implemented. Hi Adam, Here are my oppinions: 1- Posibility to limit the size of the uploads (in config) 2- Posibility to limit file types >The biggest question is where should it store the files? Not in the dabatase for sure not. Maybe in a special dir only for this things. Saludos, Pablo Roca - MS VFP - MVP La Coru=F1a - Espa=F1a Sysop del Portal gratuito de Visualfoxpro en Espa=F1ol http://www.portalfox.com -----Mensaje original----- De: php...@li... [mailto:php...@li...] En nombre de Adam Shand Enviado el: lunes, 08 de octubre de 2001 20:06 Para: PhpWikiTalk Asunto: [Phpwiki-talk] UploadFile plugin. I would like it if files were associated with a wiki page and could then be referenced by the Interwiki mechanism. The biggest question is where should it store the files? I'm not sure it makes sense to store potentially large files in the database so I was thinking of uploading files to the filesystem, something like this: /var/www/wiki/files/PageName /var/www/wiki/files/OtherPageName and then files could be accessed via Interwiki with something like this: Files:PageName/picture.jpg Files:OtherPageName/presentation.ppt Does this make sense? Adam. _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |
From: Adam S. <ad...@pe...> - 2001-10-08 22:10:56
|
> 1- Posibility to limit the size of the uploads (in config) > 2- Posibility to limit file types i believe that an upload size limit is already in place for the zip uploads. restricting file types is probably a good idea but is of limited use i suspect as files can just be renamed to qualify. long term quota's would probably be useful as well to restrict people's ability to "mailbomb" (upload bomb?) the web server. > Not in the dabatase for sure not. Maybe in a special dir only for this > things. yep, this was my thought as well. adam. |
From: Steve W. <sw...@pa...> - 2001-10-21 15:21:33
|
All these are good suggestions. I'll be glad to finally see a file upload feature! It should be able to accept any file type though, since people want to upload .doc files as well as .jpg files. It should definitely go in a separate directory, and this feature should be disabled by default (for security). ~swain On Mon, 8 Oct 2001, Adam Shand wrote: > > > 1- Posibility to limit the size of the uploads (in config) > > 2- Posibility to limit file types > > i believe that an upload size limit is already in place for the zip > uploads. restricting file types is probably a good idea but is of limited > use i suspect as files can just be renamed to qualify. > > long term quota's would probably be useful as well to restrict people's > ability to "mailbomb" (upload bomb?) the web server. > > > Not in the dabatase for sure not. Maybe in a special dir only for this > > things. > > yep, this was my thought as well. > > adam. > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |