White screen when logging in php

Asked

Viewed 157 times

0

  • post your code here

2 answers

1

I believe you are not passing the value "Logar" in the $_POST['logar'].

Test the POST that is being sent in the archive logar.phpusing var_dump($_POST) and check the value that is being passed.

Maybe you’re not getting into this if:

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

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

<input type="submit" class="btn btn-login" name="logar" id="logar" value="Sign Up" />

0

I testing worked with the name "Send" that way

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

but I need it to be with Sign Up, have any idea what’s wrong ?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.