On Saturday 06 April 2002 02:26, Chris Boget wrote:
> > You can never assume that submitted data is benign or untampered.
>
> Ok, then how do you go about checking to make sure that submitted
> data is, in fact, benign and acceptable for your use?

For starters:

If it's supposed to be a number make sure that it is a number.
If it's supposed to be a name make sure it only contains letters a-z & A-Z & 
spaces.


etc, etc.


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
senility, n.:
        The state of mind of elderly persons with whom one happens to disagree.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to