Re: Problemas con variables

From: Date: Tue, 22 Jan 2002 17:17:29 +0000
Subject: Re: Problemas con variables
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-18139@lists.php.net to get a copy of this message
Mismo error Warning: Undefined index: foto_name in recive.php on line 4 Warning: Undefined index: foto_type in recive.php on line 5 PHP Warning: Undefined index: foto_name in recive.php on line 4 PHP Warning: Undefined index: foto_type in recive.php on line 5 <?php echo $HTTP_POST_VARS['foto']//linea 3 echo $HTTP_POST_FILES['foto_name']; // 4 echo $HTTP_POST_FILES['foto_type']; // 5 ?> Lo de // demas ... el enctype="multipart/form-data" debe ir en el tag <form> no en el <input> // me han funcionado de las dos formas en script anteriores. Lo cambie e igual sigue el error anterior Aldo Quezada BSP-INSPECTOR

« previous php.general.es (#18139) next »