- #1
Jamin2112
- 986
- 12
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
using a PHP captcha generator I got from GitHub and modified for my own usage. I'm going to 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 and bypassing the sentinel page.
How do I do this?
I made, as a test page, this: http://jaminweb.com/sentinel.php
using a PHP captcha generator I got from GitHub and modified for my own usage. I'm going to 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 and bypassing the sentinel page.
How do I do this?
Last edited by a moderator: