I have created a php project. I am using XAMPP. When I run login page, after successful login it should redirect me to a webpage called
http://localhost/xyx.php
However in firefox it redirects me to
http://localhost/localhost/xyx.php
However the same thing works fine in safari.On successful validation, I redirect user using following line of code:
header('Location: http://localhost/xyx.php');
Can anyone tell me what might be the issue?