HTML Upload HTML Upload
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

HTML Upload

Started by cooly29129, April 08, 2007, 08:27:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cooly29129

Hey, I've been using coppermine for a while now, as just a fanart gallery for my site. However, I recently discovered that you can upload more than just image files to it, so I would like it to also be a fanfic gallery as well.

It works just fine and everything, except it won't allow me to upload HTML/HTM documents. I changed the "Allowed Document Types" to include HTML, but it still won't let me upload HTML.

Any help?

Joachim Müller

Allowing HTML can have a security impact, that's why you can't use html out of the box. If you don't allow your users to upload files (only you as admin will be uploading at all), then you can the filetype html by running against the filetypes table. You have to understand that you can't add all filetypes in the world to the list of allowed filetypes, but only those that coppermine "knows".
Keep in mind that allowing html uploads for a community site is not a bright idea.