RE: [PHP-ES] Problema con la recogida de variables
| From: | Sonia Sánchez | Date: | Mon, 10 Jun 2002 09:37:44 +0000 |
| Subject: | RE: [PHP-ES] Problema con la recogida de variables | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-23563@lists.php.net to get a copy of this message | ||
cuando ves tu formulario en el navegador
y haces ver código fuente,
el action de tu formulario tiene
el nombre del php correcto?
Y si esto es así si haces un print de $usuario lo ves?
-----Mensaje original-----
De: David Oliver Ramos Del Oso hotm [mailto:ramosdeloso@hotmail.com]
Enviado el: lunes, 10 de junio de 2002 12:26
Para: lista@phpes.com
Asunto: [PHP-ES] Problema con la recogida de variables
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>
<?
---------------------------------------------------------------------
Archivo On-line: http://www.phpes.com/
via news: news://news.phpes.com/
Manual PHP en español: http://www.php.net/manual/es/
Para dar de baja la suscripción, mande un mensaje a:
lista-unsubscribe@phpes.com