meman1188 Posted July 13, 2006 Share Posted July 13, 2006 I have a question about the php methods for image verification in forms. All the tutorials i have seen to do this use a temp image file, normally verify.png, and i was just wondering if anyone has run into a problem with the image changing as the page loads. I know that seems unlikely but if the timing was right, it seems like the image could possibly change if two people loaded the page at almost the same time, which would mean the person couldn't possibly enter the right code. Has anyone run into this problem or found a way of doing it without usign a temp image file?-- Brady Quote Link to comment https://forums.phpfreaks.com/topic/14447-image-verifications-in-forms-with-php/ Share on other sites More sharing options...
zq29 Posted July 13, 2006 Share Posted July 13, 2006 Use a temporary image with an auto-generated filename. That way, in the unlikely event that two people submit at exactly the same time, two different images will be created. Quote Link to comment https://forums.phpfreaks.com/topic/14447-image-verifications-in-forms-with-php/#findComment-57144 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.