Re: $HTTP_POST_VARS problem

From: Date: Mon, 16 Dec 2002 16:44:55 +0000
Subject: Re: $HTTP_POST_VARS problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-128423@lists.php.net to get a copy of this message
It looks to me like you are trying to get an uploaded file? If so, it isn't $HTTP_POST_VARS, it is $HTTP_POST_FILES or $_FILES if you are using a version of PHP that has super globals. See the PHP manual for more info: http://www.php.net/manual/en/language.variables.predefined.php ----- Original Message ----- From: "Chris Shiflett" <shiflett@php.net> To: "Lee P. Reilly" <lreilly@lanl.gov>; "PHP" <php-general@lists.php.net> Sent: Monday, December 16, 2002 10:04 AM Subject: Re: [PHP] $HTTP_POST_VARS problem > --- "Lee P. Reilly" <lreilly@lanl.gov> wrote: > > The following statements have the following return > > values: > > > > echo $HTTP_POST_VARS['userfile']; > > => C:\\Documents and Settings\\Administrator\\Desktop\\IR > > Files\\gmp1.ir > > > > echo $userfile; > > => C:\\Documents and Settings\\Administrator\\Desktop\\IR > > Files\\gmp1.ir > > > > echo $HTTP_POST_VARS['userfile']['name']; > > => NOTHING RETURNED > > > > echo $HTTP_POST_VARS['userfile']['size']; > > => NOTHING RETURNED > > > > echo $userfile_size; > > => NOTHING RETURNED > > > > echo $userfile_name; > > => NOTHING RETURNED > > > > Does anyone know what the problem is? > > What do you think the problem is? I don't see anything > unexpected, unless I'm missing something. > > Chris > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#128423) next »