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.

How to output server path of a file in template

June 08, 2012 7:57am

Subscribe [1]
  • #1 / Jun 08, 2012 7:57am

    minimal design

    356 posts

    Wondering if there’s a native way to do that? I need to make hidden/protected downloads so I’m working with path instead of URL. I see there are {path} and {url} file tags, but they both actually return URLs (with or without file name included)...

    I guess I can use php etc. but it feels like there should be a native way to access that and maybe I missed it in the docs.

    Any pointer appreciated… Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases