DJ BlackEagle @Work: header

Beitrag lesen

Hi.

Ich habe Folgendes Problem:
Ich nutzte die header Funktion aber die geht nicht. :-(

Code:
...
if($box_count == $box_max)
{
  echo "<br>In the Box count";
  unset($send);
  echo "<br>Location: ".$server."index.php?id=".$direction_to."";
  die (header("Location: ".$server."index.php?id=".$direction_to.""));
//  header("Location : index.php?id=".$direction_to);
echo "<br>Out of the die";
...

Warum macht der das nicht??
Das auskommentierte habe ich auch probiert, wie es in PHP.net steht aber funzt net.

bye
DJ BlackEagle