Re: Problemas con variables
| From: | Daniel BI | Date: | Tue, 22 Jan 2002 19:03:15 +0000 |
| Subject: | Re: Problemas con variables | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-18153@lists.php.net to get a copy of this message | ||
esta puesto claramente en la documentacion, hay que
utilizar en PHP 4:
HTTP_POST_FILES['foto']['name']
HTTP_POST_FILES['foto']['type']
HTTP_POST_FILES['foto']['size']
Daniel BI
----- Original Message -----
From: <aquezada@bsp-inspector.cl>
To: <lista@phpes.com>
Sent: Tuesday, January 22, 2002 6:32 PM
Subject: Re: [PHP-ES] Problemas con variables
Aun me persiste el error :
Warning: Undefined index: foto in recive.php on line 3
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 in recive.php on line 3 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'];
echo $HTTP_POST_FILES['foto_name'];
echo $HTTP_POST_FILES['foto_type'];
?>