![]() |
Problem xD
Why doesn't this work?
PHP Code:
PHP Code:
Code:
<h1>Login</h1>But it didn't work =// The error msg didn't show.. it just redirected me to the loginform again.. Any ideas? :S |
Okey, I noticed something.
I tried to login with the correct details, and it still didn't work. So here's the whole code: PHP Code:
But here's the login methods used: PHP Code:
|
I guess the first step would be to figure out where it is getting to in your script. Can you put some die()/var_dump() combo's in each of your if() checks to see which ones are running and whether they contain the variables you expected?
That should give us a clue as to what stage it is dying on. Alan |
Quote:
I set the name of the login button to "login", and I checked for if($_POST['submit']), so obviously, I had to either change that to if($_POST['login']), or change the submit button to name="submit". Anyways, thanks :-) |
| All times are GMT. The time now is 08:31 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0