Our own php Side login but not go to header(‘Location: home.php’);

You need to be careful while using relative URLs in Location redirects.

So, it will be better if you print absolute URLs in the headers instead of relative URLs.

https://en.wikipedia.org/wiki/HTTP_location

Leave a Comment