Hey Guys,
i'm here thinking what i did wrong.....can u guys help me?
i did 2 ways to upload a file and none of them work fine! :/
first way
$folder = "/tmp";
if(!copy($MyFile,$folder.$MyFile)){
echo "can't copy";
} else {
echo "work it!";
}
second way
$folder = "/tmp";
$dest = $folder."/".$MyFile_name;
if(!move_uploaded_file($MyFile, $dest)) {
echo "can't copy!";
exit;
}
so..... can someone help me please? i just have to make it to finish my job :/
thanks
---
[ r a f a e l f a r i a] _____________________
_________________rafaelrfc@uol.com.br
WebMaster Universo Online -
http://www.uol.com.br
Phone # +55 11 3038-8665