thanks for your reply
so it was just as simple as that - strange that i didn't find any reference to it
this example from the manual :
<?php
rename("/tmp/tmp_file.txt", "/home/user/login/docs/my_file.txt");
?>
not only renames the file but uses a different file path - does that mean that the file will be moved to the new directory and saved with the new name ?
if so that's a very useful function !