Foros del Web » Programando para Internet » PHP »

Portal web con login

Estas en el tema de Portal web con login en el foro de PHP en Foros del Web. Hola amigos de foros del web. Tengo una idea en la cual estoy trabajando, pero me encontro con un problema y eh recurrido a uds ...
  #1 (permalink)  
Antiguo 19/11/2012, 18:54
 
Fecha de Ingreso: mayo-2012
Ubicación: shilito
Mensajes: 67
Antigüedad: 11 años, 11 meses
Puntos: 3
Portal web con login

Hola amigos de foros del web. Tengo una idea en la cual estoy trabajando, pero me encontro con un problema y eh recurrido a uds haber si me pueden ayudar.

Estoy creando un portal web donde se, en donde (como su nombre lo dice), concentre los link de varias aplicaciones que eh estado diseñando en PHP. Pero mi idea es que los usuarios puedan hacer login en ese portal, una vez hecho eso no les vuelva aparecer el login y solo les muestre su Nombre.

Les dejo el texto programado.

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>XXXXXXXXXXXXXXXX</title>
<style type="text/css">
@import url("styles/default.css");
#apDiv2 {
	position: absolute;
	left: 2px;
	top: 2px;
	width: 858px;
	height: 143px;
	z-index: 1;
	font-size: 36px;
}
#apDiv3 {
	position: absolute;
	left: 1px;
	top: 206px;
	width: 188px;
	height: 527px;
	z-index: 2;
}
#apDiv4 {
	position: absolute;
	left: 861px;
	top: -1px;
	width: 289px;
	height: 153px;
	z-index: 3;
	background-color: #036;
}
#apDiv5 {
	position: absolute;
	left: 209px;
	top: 205px;
	width: 745px;
	height: 348px;
	z-index: 4;
}
#apDiv6 {
	position: absolute;
	left: 3px;
	top: 155px;
	width: 1088px;
	height: 45px;
	z-index: 5;
}
#apDiv4 #form1 table tr td p {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #FFF;
}
</style>
</head>

<body>
<div id="apDiv2"><img src="images/Portada.jpg" width="856" height="150" /></div>
<div id="apDiv3"></div>
<div id="apDiv4">
  <form id="form1" name="form1" method="post" action="">
    <table width="100%" border="0">
      <tr>
        <td width="31%"><p>&nbsp;</p>
        <p>Usuario</p></td>
        <td width="37%"><p>&nbsp;</p>
        <p>Contraseña</p></td>
        <td width="32%">&nbsp;</td>
      </tr>
      <tr>
        <td><label for="portal_login_user"></label>
        <input name="portal_login_user" type="text" id="portal_login_user" size="12" maxlength="12" /></td>
        <td><input name="portal_login_password" type="password" id="portal_login_password" size="15" maxlength="15" /></td>
        <td><input name="portal_login_submit" type="image" id="portal_login_submit" value="Ingresar" src="/images/boton_entrar.jpg" align="middle" /></td>
      </tr>
    </table>
  </form>
</div>
<div id="apDiv5"></div>
<div id="apDiv6"></div>
<p><div id="apDiv1"></div> </p>
</body>
</html>
  #2 (permalink)  
Antiguo 19/11/2012, 19:00
 
Fecha de Ingreso: noviembre-2012
Mensajes: 76
Antigüedad: 11 años, 5 meses
Puntos: 3
Respuesta: Portal web con login

Deberas guardar los datos en una variable de sesion o en una cookie o en una BD y rescatarlos del método que elijas.
Explicate para comprender mejor cual es tu problema.
  #3 (permalink)  
Antiguo 19/11/2012, 19:21
 
Fecha de Ingreso: mayo-2012
Ubicación: shilito
Mensajes: 67
Antigüedad: 11 años, 11 meses
Puntos: 3
Respuesta: Portal web con login

Cita:
Iniciado por ghost_darknet Ver Mensaje
Hola amigos de foros del web. Tengo una idea en la cual estoy trabajando, pero me encontro con un problema y eh recurrido a uds haber si me pueden ayudar.

Estoy creando un portal web, la idea es, si el usuario quiere ingresar que ingrese su user y pass los cuales estan en el TOP de la pagina, pero una vez ya logeado que no le vuelva aparecer ese texto y solo le muestre que ah iniciado sesion (mostando su Nombre)

no se si se puede hacer, no sé si sera mejor serpar los al login y llamarlo con un include o colocarlo en la misma pagina.

Les dejo el texto programado.

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>XXXXXXXXXXXXXXXX</title>
<style type="text/css">
@import url("styles/default.css");
#apDiv2 {
	position: absolute;
	left: 2px;
	top: 2px;
	width: 858px;
	height: 143px;
	z-index: 1;
	font-size: 36px;
}
#apDiv3 {
	position: absolute;
	left: 1px;
	top: 206px;
	width: 188px;
	height: 527px;
	z-index: 2;
}
#apDiv4 {
	position: absolute;
	left: 861px;
	top: -1px;
	width: 289px;
	height: 153px;
	z-index: 3;
	background-color: #036;
}
#apDiv5 {
	position: absolute;
	left: 209px;
	top: 205px;
	width: 745px;
	height: 348px;
	z-index: 4;
}
#apDiv6 {
	position: absolute;
	left: 3px;
	top: 155px;
	width: 1088px;
	height: 45px;
	z-index: 5;
}
#apDiv4 #form1 table tr td p {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #FFF;
}
</style>
</head>

<body>
<div id="apDiv2"><img src="images/Portada.jpg" width="856" height="150" /></div>
<div id="apDiv3"></div>
<div id="apDiv4">
  <form id="form1" name="form1" method="post" action="">
    <table width="100%" border="0">
      <tr>
        <td width="31%"><p>&nbsp;</p>
        <p>Usuario</p></td>
        <td width="37%"><p>&nbsp;</p>
        <p>Contraseña</p></td>
        <td width="32%">&nbsp;</td>
      </tr>
      <tr>
        <td><label for="portal_login_user"></label>
        <input name="portal_login_user" type="text" id="portal_login_user" size="12" maxlength="12" /></td>
        <td><input name="portal_login_password" type="password" id="portal_login_password" size="15" maxlength="15" /></td>
        <td><input name="portal_login_submit" type="image" id="portal_login_submit" value="Ingresar" src="/images/boton_entrar.jpg" align="middle" /></td>
      </tr>
    </table>
  </form>
</div>
<div id="apDiv5"></div>
<div id="apDiv6"></div>
<p><div id="apDiv1"></div> </p>
</body>
</html>
  #4 (permalink)  
Antiguo 19/11/2012, 19:22
 
Fecha de Ingreso: mayo-2012
Ubicación: shilito
Mensajes: 67
Antigüedad: 11 años, 11 meses
Puntos: 3
Respuesta: Portal web con login

sorry lo volvi a postear esta vez mas corregido.
  #5 (permalink)  
Antiguo 20/11/2012, 06:11
 
Fecha de Ingreso: mayo-2012
Ubicación: shilito
Mensajes: 67
Antigüedad: 11 años, 11 meses
Puntos: 3
Respuesta: Portal web con login

un up a mi tema :D

Etiquetas: html, login, portal, usuarios
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 19:25.