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.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.