Re: Problema con la recogida de variables
| From: | Frank | Date: | Mon, 10 Jun 2002 18:35:03 +0000 |
| Subject: | Re: Problema con la recogida de variables | ||
| References: | 1 2 3 4 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-23608@lists.php.net to get a copy of this message | ||
reemplaza el formulario por este...
<form name="form1" method="post" action="<?=$PHP_SELF?>">
<table>
<tr>
<td><a href="index.php?action=logout">desconectar</a></td>
<td><font color="blue" size="18">CAMPAÑAS DE
CLIENTES</font></td>
</tr>
</table>
<table width="300" border="0" cellspacing="1"
cellpadding="0">
<tr>
<td width="100">Usuario</td>
<td><input type="text" name="usuario" size="8"
maxlength="16"></td>
</tr>
<tr>
<td width="100">Clave</td>
<td><input type="password" name="clave" size="8"
maxlength="16"></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="enviar"
value="Entrar"></td>
</tr>
</table>
<input type=hidden name=hacer_login value="1">
</form>
"David Oliver Ramos Del Oso Hotm" <ramosdeloso@hotmail.com> escribió en el
mensaje news:OE34xgelXDeqoMIOGCv00009a03@hotmail.com...
> Hola a todos. Tengo el formulario siguiente y no me recoge las variables
> $hacer_login,$usuario,$clave. ¿Que puede estar pasando?¿Puede ser un error
> de configuración?
>
> <form name="form1" method="post"
> action="<?=$PHP_SELF?>?hacer_login=1">
> <table>
> <tr>
> <td><a href="index.php?action=logout">desconectar</a></td>
> <td><font color="blue" size="18">CAMPAÑAS DE
> CLIENTES</font></td>
> </tr>
> </table>
> <table width="300" border="0" cellspacing="1"
> cellpadding="0">
> <tr>
> <td width="100">Usuario</td>
> <td><input type="text" name="usuario" size="8"
> maxlength="16"></td>
> </tr>
> <tr>
> <td width="100">Clave</td>
> <td><input type="password" name="clave" size="8"
maxlength="16"></td>
> </tr>
> <tr>
> <td> </td>
> <td><input type="submit" name="enviar"
> value="Entrar"></td>
> </tr>
> </table>
> </form>
> <?