Ver Mensaje Individual
  #7 (permalink)  
Antiguo 31/08/2006, 19:07
Xotihcan
 
Fecha de Ingreso: agosto-2006
Mensajes: 29
Antigüedad: 17 años, 7 meses
Puntos: 0
Pude visualizar la confirmacion visual con el ejemplo del faq [tupagina.php]

pero cuando intento adaptarla a mi codigo, me tira error de headers... Eso lo entiendo. comento la linea de headers y tupagina.php funciona igual... pero en mi register.php no me funciona... les dejo el codigo para ver si me puede ayudar...

Gracias

Código PHP:
<?
require ("includes/config.php");
if (
$_SESSION["conectado"] != true) {
if( isset(
$_POST["aceptar"]) ) {
  
//codigo que ingresa los datos de la registracion...
else {
?>
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<FORM METHOD="POST" ACTION="index.php?modulo=registrar">
    <tr> 
        <th colspan="2" height="25" valign="middle">Informacion de Registro * [todos son obligatorios]</th>
    </tr>
<TR>
    <TD width="25%">Usuario: </TD>
    <TD><INPUT TYPE="text" NAME="user" VALUE="" size="25" maxlength="20"></TD>
</TR>
<TR>
    <TD width="25%">Email: </TD>
    <TD><INPUT TYPE="text" NAME="email" VALUE="" size="25" maxlength="255"></TD>
</TR>
<TR>
    <TD width="25%">Password:</TD>
    <TD><INPUT TYPE="password" NAME="pass" VALUE="" size="25" maxlength="20"></TD>
</TR>
<TR>
    <TD width="25%">Confirmacion de password:</TD>
    <TD><INPUT TYPE="password" NAME="cpass" VALUE="" size="25" maxlength="20"></TD>
</TR>
</table>
<hr width="43%" align="left">
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<TR>
    <TD width="25%">Nombre real:</TD>
    <TD><INPUT TYPE="text" NAME="nombre" VALUE="" size="25" maxlength="50"></TD>
</TR>
<TR>
    <TD width="25%">Lugar/Origen:</TD>
    <TD><INPUT TYPE="text" NAME="origen" VALUE="" size="25" maxlength="50"></TD>
</TR>
<TR>
    <TD>Confirmacion visual: </TD><TD><INPUT TYPE="text" NAME="conf_vis" VALUE="" size="25" maxlength="50"></TD>
</TR>
<TR>
    <TD><? include ("genera_img.php"); ?></TD>
</TR>
</TABLE>
<hr width="43%" align="left">
<INPUT TYPE="submit" NAME="aceptar" VALUE="    Registrarse    ">
</FORM>
<?
}
}
?>