Grazie in AnticipoCodice PHP:
<?php
#/second.php
function redirect ($url)
{
$page = $url;
if ( $_SERVER['PHP_SELF'] != $page )
{
header('Location :' . $page);
}
}
$page = 'first.php';
function redirect ($page);
?>
Grazie in AnticipoCodice PHP:
<?php
#/second.php
function redirect ($url)
{
$page = $url;
if ( $_SERVER['PHP_SELF'] != $page )
{
header('Location :' . $page);
}
}
$page = 'first.php';
function redirect ($page);
?>