Il mio webserver è misterdomain.eu
La funzione redirect è questa
Ringrazio per il link... anche se sinceramente non ci ho capito un fico seccoCodice PHP:function redirect($url,$tempo = FALSE )
{
if(!headers_sent() && $tempo == FALSE )
{
header('Location:' . $url);
}
elseif(!headers_sent() && $tempo != FALSE )
{
header('Refresh:' . $tempo . ';' . $url);
}
else
{
if($tempo == FALSE )
$tempo = 0;
echo "<meta http-equiv=\"refresh\" content=\"" . $tempo . ";url=" . $url . "\">";
}
}
![]()


Rispondi quotando