I just started learning PHP yesterday and I'm not sure how to do what I'm trying to do. I made, as a test page, this: http://jaminweb.com/sentinel.php [Broken] using a PHP captcha generator I got from GitHub and modified for my own usage. I'm gonna use a slight hack so my index.html reroutes to sentinel.php ... This is necessary because my web hosting service requires an index.html. Anyhow, my goal is that, when and only when the captcha has been solved, access to all my other pages is allowed. That way someone can't shortcut by going to http://jaminweb.com/projects.html [Broken] and bypassing the sentinel page. How do I do this?