• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to upload doc or PDF files

#1
// Configuration information
"conference_brochure"=>array(
            "fields"=>array(
            "field_name"=>"conference_brochure",
                "configuration"=>array(
                    "upload_path"=>"./assets/company_site_images/",
                    "allowed_types"=>"gif|jpg|png|chm|doc|dcom|docx|dot|dotx|hwp|odt|pdf|pub|rtf|xps|key|odp|pps|ppsx|ppt|pptm|pptx|PDF|DOC|XML|DOCX",
                    "file_ext_tolower"=>"TRUE",
                    "overwrite"=>"TRUE",
                    "max_size"=>"5120"
                )
            )
        ),


I have tried various combinations of MIME types with no success. 
I am able to upload images.
Codeigniter 3 on PHP 7.
Thanks for the help.
Reply


Messages In This Thread
Unable to upload doc or PDF files - by gokulakrishna9 - 11-09-2017, 11:46 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.