On my site I both have a login form, and a form for something else (this I all the second form)
They can both be present on the same page
How do I check if the second form is submitted?
I have learned that using this is good practice:
if (strtoupper($_SERVER['REQUEST_METHOD']) === 'POST') { } But this would also be true if the login form is submitted
How do I target (check if submitted) the second form and disregard the loginform? Should I check by it's name?
$_REQUESTarray.