Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Upload filetype restrictions.  (Read 4255 times)

0 Members and 1 Guest are viewing this topic.

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Upload filetype restrictions.
« on: October 01, 2007, 06:36:47 pm »

Hey,

Part of my plugin is adding a new upload field to this file, are the restriction of filetypes pre set in an external file? or will i have to add to the new upload the restrictions?

Thanks,
« Last Edit: October 02, 2007, 09:04:31 am by GauGau »
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Upload filetype restrictions.
« Reply #1 on: October 01, 2007, 07:17:52 pm »

it's a config setting

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Upload filetype restrictions.
« Reply #2 on: October 01, 2007, 07:32:32 pm »

Good , thanks that makes life easier.
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Upload filetype restrictions.
« Reply #3 on: October 01, 2007, 08:17:46 pm »

When adding a new field does it have to be in the form of a an array, or can you use plain html for the form?

I was working with html for the form but it seems to of deactivated the continue button.

Any ideas why?

Thanks,
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: Upload filetype restrictions.
« Reply #4 on: October 02, 2007, 08:38:39 am »

Resolved, this is outside the limitations of plugin so i will make a mod instead, please see realted thread in CPG misc.

Thanks,
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.