Register & login problem with Safari?
Posted: Mon Feb 20, 2012 8:12 pm
Hello everyone!
I followed the register and login tutorial and it works well, in firefox and explorer. The problem is that it seems to be some kind of problem when setting the session because everything just stops there, i.e. at the row with $_SESSION['username'] = htmlentities($_POST['username']);
When I say that everything stops, I mean that the header('Location: index.php'); line is not executed.
The session is set though, when I go to index.php manually.
I've tried to include the complete address instead of just index.php, but it still won't work. And as I said, it runs great in firefox and explorer.
Any ideas?
I followed the register and login tutorial and it works well, in firefox and explorer. The problem is that it seems to be some kind of problem when setting the session because everything just stops there, i.e. at the row with $_SESSION['username'] = htmlentities($_POST['username']);
When I say that everything stops, I mean that the header('Location: index.php'); line is not executed.
The session is set though, when I go to index.php manually.
I've tried to include the complete address instead of just index.php, but it still won't work. And as I said, it runs great in firefox and explorer.
Any ideas?