On Monday 16 December 2002 23:48, Lee P. Reilly wrote: > 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
Better to use $_POST. > echo $userfile; > => C:\\Documents and Settings\\Administrator\\Desktop\\IR Files\\gmp1.ir > > echo $HTTP_POST_VARS['userfile']['name']; > => NOTHING RETURNED Use $_FILES. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* In a gathering of two or more people, when a lighted cigarette is placed in an ashtray, the smoke will waft into the face of the non-smoker. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php