I use the following to upload a file. The problem is that after it has been uploaded I CANNOT delete it from my FTP. I think the permissions are off.
Any ideas? Thanks!
$ftmp = $_FILES['image']['tmp_name'];
$oname = $_FILES['image']['name'];
$fname = 'upload/'.$imagedir.'/'.$_FILES['image']['name'];