...

View Full Version : Rename folders on execute ?



Skrillex
08-03-2012, 04:40 AM
Hey,

I'm a beginner and I couldn't find a way to rename a folder on every file.php execute

Example:
Original/file.php ---> execute ---> Original1/file.php ---> execute ---> Original2/file.php

Is that possible ?
Help if it is please !

Len Whistler
08-03-2012, 07:14 AM
Untested


<?php

$old_name = "Original1/file.php";
$new_name = "Original2/file.php";
rename($old_name, $new_name);

?>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum