Jump to content

Dave96

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Dave96's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm also interested in a similar script. I tried the suggestion above, but the session does not go beyond 1 (it does not get incremented). edit: got it! $_SESSION['attampts'] = ++$_SESSION['attampts'];
  2. Is it possible to have a session with a value which auto-inrements on each POST? POST #1 -> the session value is 1 ... POST #3 -> the session value is 3 Than if ($_SESSION['var'] == 3){ echo "Too many tries"; } If only I knew how to create such a value in the session. I tried operators ($x++), loops, everything. Maybe it's not possible? Any help appreciated!
  3. Thanks shocker I'd like to know if there's a way of doing this without any database (since the form doesn't use any)?
  4. Hi all, I'd like to limit a form submission to X amount of tries but I'm unsure on how to go on with this. For example, a form is submited but it throws an error. I'd like that if the error is thrown 3 times than it would give a message and disable the form. Best way to explain this is with a credit card form. Disable the form after 3 tries to avoid fraudsters "testing" their stolen cards. I will really appreciate any sort of answer! Thanks
×
×
  • Create New...

Important Information

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.