ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

getting file size and mimetype for an uploaded file?

December 22, 2009 9:18am

Subscribe [2]
  • #1 / Dec 22, 2009 9:18am

    K.OS

    4 posts

    hi…

    while creating an download area with expression engine i ran into this problem. is it somehow possible to get the mimetype and filesize of an attached file?

    i used php to get the filesize… but i cannot access the absolute file system path…

    any other ideas how i can accomplish this?

  • #2 / Dec 22, 2009 10:36am

    John Henry Donovan

    12339 posts

    K.OS,

    There is a plugin here and here

    Might not meet your specs but you may be able to use them as a base for what you want.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases