So I am trying to do a basic upload via an HTML form and a simple php script, but the move_uploaded_file function always returns false. I have run “chmod 777” on the directory (I will deal with safety more when I actually get this to work) and the “upload” directory is in the htdocs folder (actually /var/www in Ubuntu Server