Upload filetype restrictions. Upload filetype restrictions.
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Upload filetype restrictions.

Started by just_some_guy, October 01, 2007, 06:36:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

just_some_guy

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


just_some_guy

Good , thanks that makes life easier.
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

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

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

Thanks,
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