if (isset($_GET[\'link\'])) {
$link = (int) $_GET[\'link\'];
}
if ($link == 1) { header("Location: file_url_here1.php"); }
elseif ($link == 2) { header("Location: file_url_here2.php"); }
elseif ($link == 3) { header("Location: file_url_here3.php"); }
elseif ($link == 4) { header("Location: file_url_here4.php"); }
else { print "Глюк... незнаю чё грузить..."; }
?>
я вот непойму, для чего тут нужен else??:confused:
кроме всего прочего, при входе на страницу где размещён этот скрипт. мне всегда отображается этот esle(Глюк... незнаю чё грузить...)
в чём трабла?:confused: