durangod
11-23-2010, 07:27 PM
hi, just curious, does it matter in the process if i check post submit first or second to the post var
so if i have
if (!empty($_POST['userlevel'])) {
if ($_POST['Submit']) {
as apposed to
if ($_POST['Submit']) {
if (!empty($_POST['userlevel'])) {
does it really make any dif in security or functionality! as long as they get checked?
so if i have
if (!empty($_POST['userlevel'])) {
if ($_POST['Submit']) {
as apposed to
if ($_POST['Submit']) {
if (!empty($_POST['userlevel'])) {
does it really make any dif in security or functionality! as long as they get checked?