| 5.2 register.php typecast(FIXED)
Small typo:
typecast($_POST, array('pick_username' => STRING,'email' => STRING,
'password' => STRING,'passwordconfirm' => STRING,'homepage' => STRING,
'icq' => STRING,'aim' => STRING,'yahoo' => STRING,'year' => STRING,
'hobbies' => STRING,'occupation' => STRING,'location' => STRING,'bio' => STRING,
'year' => INT,'month' => INT,'day' => INT, ', $link' => INT));
Shouldn't that be:
typecast($_POST, array('pick_username' => STRING,'email' => STRING,
'password' => STRING,'passwordconfirm' => STRING,'homepage' => STRING,
'icq' => STRING,'aim' => STRING,'yahoo' => STRING,'year' => STRING,
'hobbies' => STRING,'occupation' => STRING,'location' => STRING,'bio' => STRING,
'year' => INT,'month' => INT,'day' => INT, ', 'link' => INT));
|