Copy function usage ?
| From: | Tamas Bucsu | Date: | Thu, 09 Aug 2001 15:36:12 +0000 |
| Subject: | Copy function usage ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61996@lists.php.net to get a copy of this message | ||
Hi guys,
I have a problem that's killin' me. As I'm not very good at Linux I don't know
how to set the properties of the folder pics to be able to use the copy function. (If I'm right
and the problem is not some else) Please help. Here's the code:
if (file_exists($userfile)) {
copy("$userfile","pics/".$userfile);
} else {
echo "Nem sikerül a következõ file-t feltölteni:".$userfile;
}
thx
Tamas Bucsu