rename() return type 2 in php
snippet in php

rename file php

user5252

 rename('old_filename.txt', 'new_filename.txt');

rename() return type 2 in php

user6554


<?php

rename("images","pictures");
rename("/test/file1.txt","/home/docs/my_file.txt");

?>