Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $OldName = $_GET['file'];
- $Dir = $_GET['dir'];
- $Name = $_GET['name'] ;
- $ext = $_GET['ext'];
- $NewName = $Dir + $Name ;
- rename($OldName, $Dir.$Name.".".$ext );
- header ("location: testF.php") ;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment