ciao!
io faccio cosi:
<?
if SUCCEDE_QUELLO_CHE_DEVE_SUCCEDERE {
fa_quello_che_deve_fare
}else{
echo "<html>\n
<head>\n
<meta http-equiv=\"Refresh\" content=\"2;url=http://www.sito.it/pagina.php\" >\n
</head>\n
<body>\n


</p>\n
</body></html>\n";
}
?>