grandad
Member
I'm building a CMS system for a client at the moment. All is going well, except they want the ability to upload PDF files.
I installed the easyUpload plugin which nicely provides for file uploads, but for some reason the system keeps rejecting PDF files ['file type not allowed' or some such crap].
The configuration is as follows, which should allow all files bar the excepted ones.
Has anyone any experience of this?
P.S. As you may gather, I'm using the PHP script...
I installed the easyUpload plugin which nicely provides for file uploads, but for some reason the system keeps rejecting PDF files ['file type not allowed' or some such crap].
The configuration is as follows, which should allow all files bar the excepted ones.
Code:
$Config['AllowedExtensions']['File'] = array() ;
$Config['DeniedExtensions']['File'] = array('html','htm','php','php2','php3','php4','php5','phtml','pwml','inc','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','com','dll','vbs','js','reg','cgi','htaccess','asis') ;
P.S. As you may gather, I'm using the PHP script...