Re: Making sure a post request came from your site

From: Date: Fri, 05 Apr 2002 18:41:36 +0000
Subject: Re: Making sure a post request came from your site
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-91775@lists.php.net to get a copy of this message
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. */

« previous php.general (#91775) next »