PHP标头位置将#添加到URL

I couldn't find anything on the web about this, and this is not a major issue but it bothers me. Whenever I use php header function, it appends a # to the destination URL.

<?php
include ("../utilities/core.php");

if(LoggedIn())
{
    header('Location: ../index.php');
    exit();
}
?>

It redirects to "localhost/index.php#" instead of "localhost/index.php". Is this the standard? If so what can I do to prevent it? If not what might be the cause of this and the solution?