Page 2 of 2

PostPosted: Sun Mar 21, 2010 9:02 pm
by Mailas
Use the functions is_uploaded_file() and copy().

$dir = '/uploads/';

if(is_uploaded_file($_FILES['$fieldname']['tmp_name']))
{
echo copy($_FILES['$fieldname']['tmp_name'], $dir . $_FILES['$fieldname']['name']);
echo " Good";
}

PostPosted: Mon Mar 22, 2010 11:45 am
by .Yunoko
Thanks Mailas, I will try when I get some time tonight. You rock put are probably p!ssed at helping me so much :P

PostPosted: Mon Mar 22, 2010 3:34 pm
by Mailas
If you think this is stressing, just go on the IRC servers and see all the morons that post the most stupidest questions.
myy code no work
<!php

echo 'why it no work?';

!>