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/) > To unsubscribe, visit: http://www.php.net/unsub.php