php header download close code example Example: header php location header('Location: http://www.example.com/');