Tema: Cpanel
Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/08/2005, 19:40
Avatar de Datacenter1
Datacenter1
Usuario no validado
 
Fecha de Ingreso: agosto-2005
Ubicación: Chicago
Mensajes: 1.982
Antigüedad: 18 años, 8 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");
}
}
?>