$_POST Array and Cleaning

From: Date: Mon, 21 Jan 2008 02:22:07 +0000
Subject: $_POST Array and Cleaning
Groups: php.general 
Request: Send a blank email to php-general+get-267732@lists.php.net to get a copy of this message
I'm trying to create a function that will first take an array of $_POSTs and give them key/value pairs like variables. For instance, if i had $_POST['whatever'] = "whatever", that would be made into $whatever = "whatever", then i can clean for sql injection and xss. any ideas here? - e

« previous php.general (#267732) next »