Enviar var no cabeçalho PHP

<?php
    $user = "batman";
    header("Location:temp.php?user=".$user);
    exit();
?>
Silly Seahorse