News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
User Personalization with PHP The Verification Code
March 17, 2009 @ 09:37:50 continues their look at user personalization with the second part of the series - how to validate that the users signing up for your site are valid. (Here's part one, the introduction).

In this article, we will be looking at user authentication. User authentication simply means verifying that a particular user has the right to access a part of our application. Because our application deals with user preferences, access control is even more pertinent especially since multiple users are going to try to access this application at any given time.

As a part of this user validation and customization, they need to create a form that non-human scripts have a harder time using (hopefully weeding them out and getting better user information). The article steps you through a few lines of code that you can use to create a simple image of a four-digit number whose value is placed in a session variable so it can be validated on submission of the form.

0 comments voice your opinion now!
captcha image validation user personalization gd random digit

blog comments powered by Disqus

Similar Posts

Site News: A Call for PHP User Group Information

SitePoint PHP Blog: PHP\'s \"doggie\" easter egg 9 Extremely Useful and Free PHP Libraries PHP "gdPngReadData()" Truncated PNG Data Denial of Service Add comments to any PHP script

Community Events

Don't see your event here?
Let us know!

community composer configure threedevsandamaybe list interview opinion unittest voicesoftheelephpant api conference laravel symfony series framework podcast release language introduction version

All content copyright, 2015 :: - Powered by the Solar PHP Framework