White screen when logging in php

0

When the screen goes blank, does anyone know what kind of problem this is?

login page: link

Log in link

Does anyone have an idea what the problem is?

    
asked by anonymous 07.12.2017 / 08:31

2 answers

1

I believe you are not passing "Logar" to $_POST['logar'] .

Test the POST that is being sent in the file logar.php using var_dump($_POST) and check the value being passed.

You may not be entering this if :

if (@$_POST['logar'] == 'Logar') { ... }

Since your input[type="submit"] is passing "Sign Up" :

<input type="submit" class="btn btn-login" name="logar" id="logar" value="Sign Up" />
    
07.12.2017 / 11:18
0

I testing worked with the name "Submit" this way

<input type="submit" class="btn btn-login" name="Enviar" value="Enviar" />

But I need it to be Sign Up , do you have any idea what's wrong?

    
08.12.2017 / 05:31