Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
I have a random value that is automatically generated using PHP.
On my website I have an image that displays this value.
What I would like to do is to have a hidden input field in my HTML that has a hashed version of my original random value using PHP.
Then when a user types in a value into the browser, on submit I could hash the input to see if it matches the hidden hashed value, so as not to waste server requests for bad matches.
I checked out that script but it worries me a little.
It seems that script returns a consistant value for md5, whereas a PHP value for md5 has lots of different returns.
Thanks again for the reply. I think I'm going to go in a slightly different direction that will only require a tiny server request.