Re: Form validation: client- or server-side?

From: Date: Fri, 09 Jan 2004 18:12:03 +0000
Subject: Re: Form validation: client- or server-side?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174151@lists.php.net to get a copy of this message
Matt -- ..and then Matt Grimm said... % % Is there a distinct advantage to doing form validation / error checking on % the server side using PHP? That's how I've always done it because I know 1) I hate JavaScript. 2) Don't trust anything coming from a client. You should be validating on the server anyway -- empty fields and all -- and so there's no need to do it twice especially when it eliminates surfers who don't use JS. HTH & HAND & Happy New Year :-D -- David T-G * There is too much animal courage in (play) davidtg@justpickone.org * society and not sufficient moral courage. (work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

« previous php.general (#174151) next »