I am guessing that apache isn't the owner of the file. therefor it can't delete it from it original position.
mv in unix basically copies the file pointer from one place and to another place. then deletes the original pointer. if you don't have permission to delete the file from its original point, then you can't do an mv command successfully. Check your permissions on the original file, find out if apache is the owner. that will tell you if you can delete the file. Jim ----- Original Message ----- From: "Christian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 5:01 PM Subject: [PHP] why is mv copying ?? > Hi all, > > Any idea why when I execute 'mv' in a php script > the file is copied not moved? > > Apache is a member of the group which owns the file > and has wrx permissions. > > Thanx, > Christian > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php