<form method="post">
<input type="password" name="pass">
<input type="submit" value="войти>>>">
</form>
<?
$pass=$_POST['pass'];
switch($pass)
{
case karinaB:
header("location:http://nashclass.16mb.com/id1");
break;
case kristiaB:
header("location:http://nashclass.16mb.com/id1");
break;
case ekateB:
header("location:http://nashclass.16mb.com/id3");
break;
case anasG:
header("location:http://nashclass.16mb.com/id4");
break;
case nasstaz:
header("location:http://nashclass.16mb.com/id5");
break;
case nataK:
header("location:http://nashclass.16mb.com/id6");
break;
case iariK:
header("location:http://nashclass.16mb.com/id7");
break;
case dan4iK:
header("location:http://nashclass.16mb.com/id8");
break;
case annaL:
header("location:http://nashclass.16mb.com/id9");
break;
case kateMac:
header("location:http://nashclass.16mb.com/id10");
break;
case toliM:
header("location:http://nashclass.16mb.com/id11");
break;
case vitaN:
header("location:http://nashclass.16mb.com/id12");
break;
case dimkaP:
header("location:http://nashclass.16mb.com/id13");
break;
case nastiaPole:
header("location:http://nashclass.16mb.com/id14");
break;
case karolinaKRE3I:
header("location:http://nashclass.16mb.com/id15");
break;
case lekaP:
header("location:http://nashclass.16mb.com/id16");
break;
case saniaR:
header("location:http://nashclass.16mb.com/id17");
break;
case nastiaS:
header("location:http://nashclass.16mb.com/id18");
break;
case mackS:
header("location:http://nashclass.16mb.com/id19");
break;
case kaTe:
header("location:http://nashclass.16mb.com/id20");
break;
case yeliaX:
header("location:http://nashclass.16mb.com/id21");
break;
case denC:
header("location:http://nashclass.16mb.com/id22");
break;
case lexaC:
header("location:http://nashclass.16mb.com/id23");
break;
case radiCH:
header("location:http://nashclass.16mb.com/id24");
break;
case kirillCH:
header("location:http://nashclass.16mb.com/id25");
break;
case lizkaCH:
header("location:http://nashclass.16mb.com/id26");
break;
case dryxaCH:
header("location:http://nashclass.16mb.com/id27");
break;
case rasadSH:
header("location:http://nashclass.16mb.com/id28");
break;
case saniaK:
header("location:http://nashclass.16mb.com/id29");
break;
default:
echo ("Не верный пароль");
}
?> http://nashclass[dot]16mb[dot]com/id20
(Добавление)
Green а где перенаправление
|