RE: [PHP-WIN] variable passing problem
| From: | HKG) | Date: | Fri, 19 Mar 2004 12:47:43 +0000 |
| Subject: | RE: [PHP-WIN] variable passing problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23197@lists.php.net to get a copy of this message | ||
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@lists.php.net '
Sent: 19-3-2004 12:42
Subject: Re: [PHP-WIN] 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>