
10/08/2005, 19:40
|
 | Usuario no validado | | Fecha de Ingreso: agosto-2005 Ubicación: Chicago
Mensajes: 1.982
Antigüedad: 19 años, 6 meses Puntos: 144 | |
Login form
<html>
<head>
<title>cPanel Login</title>
</head>
<body>
<form method="post" action="cpanel.php">
Username: <input type="text" name="user"><br>
Password: <input type="password" name="pass"><br>
<input type="submit" name="submit" value="Login!">
</form>
</body>
</html>
cpanel.php
<?
if ($_POST["submit"]) {
if ((!$_POST["user"]) || (!$_POST["pass"])) {
echo("Please complete all fields.");
}
else {
header("Location: http://".$_POST["user"].":".$_POST["pass"]."@www.tusitio.com:2082");
}
}
?> |