Why cant i refer to $userfile and $userfile_name?

From: Date: Wed, 22 May 2002 18:33:55 +0000
Subject: Why cant i refer to $userfile and $userfile_name?
Groups: php.general 
Request: Send a blank email to php-general+get-98795@lists.php.net to get a copy of this message
Hi, im a newbie to php and are trying to make a small upload script. So i have read about the variables $userfile and $userfile_name. When i try to run the script i get the following error: Notice: Undefined variable: userfile Notice: Undefined variable: userfile_name Some of the code: if ( is_uploaded_file ( $_FILES [$userfile] [$userfile_name] ) ) Why cant i use the variables?

« previous php.general (#98795) next »