Moderators: macek, egami, gesf

Serg4444 wrote:It's simple:
Your link for download must go on another PHP page, where you check cookies - if($variable=="value"){your page with real links to download}
else{include("login.htm");}

Cogen wrote:How about starting a session and setting some kind of login session variable when the user logs in correctly. On all pages that require passwords, check to see if the session variable is set. If it's not, direct them to the loggin page. I think this is similar to Serg4444's method, however I don't see why it couldn't work if you use session variables.
Return to PHP coding => General
Users browsing this forum: No registered users and 2 guests