I have this php code:
move_uploaded_file($_POST["filelocation"], "dock/images/".explode("upload/",$_POST["filelocation"])[1]);
putindb();
And the putindb
function works fine, I don't get any error, but the file isn't copied. How can i see what error is behind this? Or how can I resolve this?