$filecheck = $_FILES['fileurl']['name'];
if($filecheck != null){
echo "The file is $filecheck";
copy($fileurl, "");
unlink($fileurl);
I understand that I can get the name of the file still with $_FILES['fileurl']['name'] ... I just can't do this...
copy($_FILES['fileurl'], $location);
It says array to string conversion... and doesn't upload. What do I put in place of $fileurl in the copy() function??? with globals off this works perfect and loads the file in... All I need to know is how to capture the actual file (which is contained in the $fileurl variable) Does this clarify my question?
Thanks,
🙂