|
Posted by RDizzle on 10/26/04 11:54
figured out a workaround for $_POST
instead of calling $_POST while assigning to my session array
$form_vars like this:
$formVars["userName"] = clean($_POST["userName"],50);
i call $_POST to a normal var $userName like this:
$userName = $_POST["userName"];
then do
$formVars["userName"] = clean($userName,50);
however, this does not explain why
$formVars["userName"] = clean($_GET["userName"],50);
works when using get method while
$formVars["userName"] = clean($_POST["userName"],50);
doesn't when using post method.
so flummoxed,
raymond
Navigation:
[Reply to this message]
|