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" <[EMAIL PROTECTED]> To: "Lee P. Reilly" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 10:04 AM Subject: Re: [PHP] $HTTP_POST_VARS problem > --- "Lee P. Reilly" <[EMAIL PROTECTED]> 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php