function redirect($url,$tempo = FALSE ){
if($tempo == FALSE ){
header('Location:' . $url);
}else{
header('Refresh:' . $tempo . ';' . $url);
}
}
come faccio a richiamare questa funzione in un'altra pagina
function redirect($url,$tempo = FALSE ){
if($tempo == FALSE ){
header('Location:' . $url);
}else{
header('Refresh:' . $tempo . ';' . $url);
}
}
come faccio a richiamare questa funzione in un'altra pagina