Jump to content
xisto Community

Bocarius

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by Bocarius


  1. I use a simple advice from php tutorial:
    All what you need is an input field and a PHP code to check the
    entered code. Here is an example code for the HTML form:

    Access code: <input /><br />

    Please enter <b>MYCODE</b> above.

    Then you can simply the check if the entered code matches, with a PHP
    help. Please, compare the code in lower-case to avoid issues with a
    typing in CaSe SeNSiTiVe code:


    If (strtolower($_POST[âcodeâ]) != 'mycode') {die('Wrong access
    code');}

    The form will be submitted only after the time, when the person
    enters the correct access code.
    Maybe it is too easy, but it is effective

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.