Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

php allow download files

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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.
User avatar
Joan Garnet
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.