Move / Rename File

Move / Rename File

<?php

rename("/tmp/tmp_file.txt", "/home/user/login/docs/my_file.txt");

?>

Advertisements