#20971 [Opn->Bgs]: Notice: Undefined index: Submit in
| From: | derick@php.net | Date: | Thu, 12 Dec 2002 20:28:46 +0000 |
| Subject: | #20971 [Opn->Bgs]: Notice: Undefined index: Submit in | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27534@lists.php.net to get a copy of this message | ||
ID: 20971
Updated by: derick@php.net
Reported By: jose.vargas@neoris.com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: win 2k pro
PHP Version: 4.2.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-12-12 13:46:38] jose.vargas@neoris.com
forgot,
Apache HTTP Server Version 1.3
------------------------------------------------------------------------
[2002-12-12 13:44:15] jose.vargas@neoris.com
Notice: Undefined index: Submit in c:\program files\apache
group\apache\htdocs\webproyect\modulo_externo\include\ingreso.php on
line 3
<?php
// Corre unicamente cuando el se pulsa en entrar
if($HTTP_POST_VARS['Submit']=='Entrar'){
session_start();
// Revisa si los datos de acceso son correctos y
// pone su nombre de usuario como variable de sesion.
$statusCheck = check_login($HTTP_POST_VARS);
if ($statusCheck != "Mensaje1" and $statusCheck != "Mensaje2" and
$statusCheck != "Mensaje3" and $statusCheck != "Mensaje4"){
session_register("statusCheck");
header("Location: home.php");
exit;
}
else{
if($statusCheck == "Mensaje1")$statusCheck="No se logro coneccion
con el Servidor de Base de Datos";
if($statusCheck == "Mensaje2")$statusCheck="No se logro accesar a la
Base de Datos";
if($statusCheck == "Mensaje3")$statusCheck="No se lograron Validar
los Datos";
if($statusCheck == "Mensaje4")$statusCheck="Usuario o Contraseña no
registrados";
}
}
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20971&edit=1