php allow download files

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Postby Joan Garnet » Thu Nov 21, 2002 5:22 am

That's complicated :)
If you already have a login / password implementation working in your site, you just have to filter the link that take users to the download action.
You can do it sending the users when they click the link to a page that searches for the "variable session" (the variable that the user needs to be logged in) and then, if found pop-up the download.

The only matter is that many people is using pop-up filters, so the download pop-up won't appear for them...
You can warn it besides the link.
:)

Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 2 guests