PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
How can one authorize a user to download a file in a protected directory or folder. Is there a way that I can auto generate an authorization that expires within 24 hours. Should I simply use a cookie that expires in 24 hours. Is there a better way in PHP?
Thanks
You could use a database ran folder protection script with a field in the database equal to the time of the exporation then say if user name logs on after X time exit() before the folder is displayed.... not sure on any pre made scripts but I'm assuming this would work.