Perchè, non andrebbe bene
header("location: ...") or die("Problema con l'invio dell'header");
???