Re: parse errors...upload script
| From: | (Richard Lynch) | Date: | Wed, 12 Jul 2000 23:20:14 +0000 |
| Subject: | Re: parse errors...upload script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6338@lists.php.net to get a copy of this message | ||
In article <004301bfec2e$3fba7be0$554b5f18@columbus.rr.com>,
jsouthern@columbus.rr.com ("Justin Southern") wrote:
> <input type=3DFile name=3Dfile_name><br>
> copy($file, "/my/path/that/is/mine/$file_name");
You are using file_name the wrong place.
What you want is name=file
$file, ... $file_name
Also check return value of copy().
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)