php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20971 Notice: Undefined index: Submit in
Submitted: 2002-12-12 13:44 UTC Modified: 2002-12-12 14:28 UTC
From: jose dot vargas at neoris dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.2.3 OS: win 2k pro
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jose dot vargas at neoris dot com
New email:
PHP Version: OS:

 

 [2002-12-12 13:44 UTC] jose dot vargas at neoris dot 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";
			}
	}		
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-12 13:46 UTC] jose dot vargas at neoris dot com
forgot,
Apache HTTP Server Version 1.3
 [2002-12-12 14:28 UTC] derick@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 27 12:00:01 2025 UTC