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?
Register & login problem with Safari?
Re: Register & login problem with Safari?
Correction: It is the header('Location: index.php'); that doesn't work.
die(); is right after. If i make echo's right before and after the redirection, both are visible. If I make an echo after the die();, nothing is shown.
Any ideas?
die(); is right after. If i make echo's right before and after the redirection, both are visible. If I make an echo after the die();, nothing is shown.
Any ideas?
Re: Register & login problem with Safari?
Can you post your full code ?
I cant really see why Safari would ignore than header :s
I cant really see why Safari would ignore than header :s