detecting type of field from $_POST ?

From: Date: Tue, 06 Apr 2004 03:43:44 +0000
Subject: detecting type of field from $_POST ?
Groups: php.general 
Request: Send a blank email to php-general+get-182436@lists.php.net to get a copy of this message
Hi .. i just wonder, is there any way to detecting the type of field (like textarea, button, radio, etc) from $_REQUEST / $_POST ? I need to detect that all .. because I want to put a script that will remove html tag (with htmlspecialchars() function) ... and the problem happen when I use input that produce array (like multiple checkbox will produce an array in $_POST). Is there any way to do this ? thank you -- Best regards, adwinwijaya mailto:adwinwijaya@yahoo.com.au

« previous php.general (#182436) next »