[nycphp-talk] Managing form data with PHP
David Krings
ramons at gmx.net
Wed Dec 12 09:34:11 EST 2007
tedd wrote:
> At 12:16 PM -0600 12/11/07, Tony Furnivall wrote:
>> Newbie request -
>> Any pointers? ideas? suggestions?
>
>
> Yes, use javascript and inform the user in real-time and before they
> send the junk to the server. Of course, you then have to scrub and clean
> everything, but you would have to anyway.
>
That works OK for something like a date or making sure that a mandatory entry
exists, but for example for a user name that has to be unique you need to
check it against your tables. Can't do that with ECMAScript.
David
More information about the talk
mailing list
Automatic Email Organization without missing anything!