Validation

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
PHPMan
Forum Newbie
Posts: 13
Joined: Thu Nov 18, 2004 8:47 am

Validation

Post by PHPMan »

Does anyone here have a recommended way of doing Validation Systems?
I have a simple registration page, and upon joining a validation email should be sent out. (Once) clicking the link inside the email, it adds you to the Members List...

Now, I was debating doing it that way, or I dont know how many of you have seen the new hotmail and all the (.NET Stuff which is cool)
But as opposed to sending out a validation email, they get you to
'Type the Code you See In The Box', I know they have to do it this way, because if you dont have an email account, they simply can't get you to validate your account w/ an email.

Anyways, so I was thinking either email validation, or getting some script to randomly generate a series of numbers & letters in a box, preferably 5 numbers/letters. The underneath that, get the user to
'type you last name exactly as you did above' which I guess in a sense, thats another way to validate too isn't it?

Anyways let me know your suggestions...
Regards,
djot
Forum Contributor
Posts: 313
Joined: Wed Jan 14, 2004 10:21 am
Location: planet earth
Contact:

Post by djot »

-
Hi,

Most time the validation is used to verify that you have an existing email address.

The numbers as images are used to prevent automatic generation of user(etc.) accounts with bots. The scripts/bots can't read the images, the image codes are only human readable.
The generation of numbers as images is often referred as "CAPTCHA", try to search for that at http://www.phpclasses.org, there are several scripts of that kind.


Why and what for do you think you need that validation?


djot
-
Post Reply