We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Can I pass a file name into the LinkLocker tag?

Development and Programming

JohnD's avatar
JohnD
114 posts
16 years ago
JohnD's avatar JohnD

I need to dynamically generate a list of files that can be downloaded by a restricted group. I thought I would adapt a PHP script that I had working before to use all the nice LinkLocker features.

EDIT Aaargh, I can’t the forum to accept my code, so I have to explain in words.

All I want to do is add a php variable which contains the file name, to the final segement of the path parameter within the LinkLocker tag. I then echo the entire link out using php chaining conventions. If I do that I get a “link Expired” error. If I put an actual file name in there, then the echoed link works.

Has anyone found a way to pass a file name via a php variable to the LinkLocker tag? Any help appreciated.

       
Brad Street's avatar
Brad Street
239 posts
16 years ago
Brad Street's avatar Brad Street

Question is being addressed in LinkLocker forum.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.