upload a file
| From: | czeslaw | Date: | Sun, 24 Feb 2002 00:33:44 +0000 |
| Subject: | upload a file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85968@lists.php.net to get a copy of this message | ||
hi,
I try to upload a file using a form. When I use INPUT TYPE="text" it is ok,
but when i change it to "hidden" it doesn't work :(
This is a part of the form:
<INPUT TYPE="hidden" NAME="dir" VALUE="<? echo $dir?>" >
where $dir is a directory where I want ot place the file. The script to copy
a file looks like that:
copy($userfile, $dir.$userfile_name);
Please help
Czeslaw