When you upload a file in PHP it get stored in an upload temp directory. The manual describes how to get them: http://nl2.php.net/manual/en/features.file-upload.php -----Original Message----- From: Viraj Kalinga Abayarathna To: Svensson, B.A.T. (HKG) Cc: 'php-windows@xxxxxxxxxxxxx ' Sent: 19-3-2004 12:42 Subject: Re: variable passing problem then it says... Notice: Undefined index: fileToUpload in e:\viraj\office\inventory\2.php on line 3 (fileToUpload is the variable name) any suggestions? Viraj. "Svensson, B.A.T. (HKG)" wrote: > (on windows: Notice: Undefined variable: fileToUpload in > e:\viraj\office\inventory\2.php on line 3) (on Linux: > Resource id #1 ) Using $_POST['fileToUpload'], will probably solve that problem for you. -- PHP Windows Mailing List ( http://www.php.net/ <http://www.php.net/> ) To unsubscribe, visit: http://www.php.net/unsub.php <http://www.php.net/unsub.php> -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php