Re: $HTTP_POST_VARS problem

From: Date: Mon, 16 Dec 2002 15:49:47 +0000
Subject: Re: $HTTP_POST_VARS problem
Groups: php.general 
Request: Send a blank email to php-general+get-128410@lists.php.net to get a copy of this message
Think you want $HTTP_POST_FILES rather than $HTTP_POST_VARS. As in $HTTP_POST_FILES['userfile']['name']; HTH, Richy ========================================== Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: rblack@datavisibility.co.uk "Lee P. Reilly" To: PHP <php-general@lists.php.net> <lreilly@lanl. cc: gov> Subject: [PHP] $HTTP_POST_VARS problem gov> 16/12/2002 15:48 Hi there, I'm currently using PHP 4.2.2 and I am have encountered some problems when trying to access $HTTP_POST_VARS. 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? I suspect that the '\\' in the path may have something to do with it. Thanks, Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________

« previous php.general (#128410) next »