Hi, I want to log in the user after he registrered.
So, you login in a form with POST method. Now i was thinking about doing it this way:
header("index.php?doLogin=Login&user_email=$usr_email&pass=$data[pwd]");
But then, when you login its POST and not GET,
// Log in
if (isset($_POST['doLogin']) && $_POST['doLogin'] == 'Login')...
So what do I do? Another idea doing this maybe?