$file = $_FILES['userfile']['tmp_name'];
print_r($file . "");
print($_FILES['userfile']['size'] . "");
move_uploaded_file($file, "/Uploads");
/*
gives the following output
d:\raheel\w3sites\phpDE.tmp
73699
*/
/*
$file = $_FILES['userfile']['tmp_name'];
print_r($file . "");
print($_FILES['userfile
$file = $_FILES['userfile']['tmp_name'];
print_r($file . "");
print($_FILES['userfile']['size'] . "");
move_uploaded_file($file, "/Uploads");
/*
gives the following output
d:\raheel\w3sites\phpDE.tmp
73699
*/
/*
$file = $_FILES['userfile']['tmp_name'];
print_r($file . "");
print($_FILES['userfile
/*
i m now using the following script to upload the file but
still it is not working..
I there would've been some permission problem , i have given
"full control" permission to the whold directory even the drive there
the site is hosted.
now the script is generating the following out put
which m
I haven't done but one file upload, but it seems from the error message
that maybe PHP is trying to write the file to
d:\raheel\w3sites\txtfiledemo\uploads\ (as a file?). Perhaps you should
include the $_FILES['userfile']['name'] to the ending statement (which I
believe is what the file's original