Creating a php page which will

Hello, I’d want to create a page that will be like a random question and you will have to type the right answer, once you click on “submit” and you’re right your IP will be added to the .htaccess file that I have (in order to whitelist the IP)
Is this hard to do? thanks

The only downfall is that person IP address more than likely belongs to other people, so either you going to ban a bunch of people or going to grant access to a person with ill intentions. Depending on how they answer the question.

That scenario fails for dynamic IP’s, hardware malfunctions, localization, and general theory.

What are you after exactly? Because banning every IP and whitelisting based on a response is short sighted.

Sponsor our Newsletter | Privacy Policy | Terms of Service