Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100 off


PHP Tutorials and Scripts   




Title: Moving Folders Nonrecursively    Marked Cool    (Review this resource)
Author: davidlo
Posted On: 2004-12-20
Category: Home > PHP Hints and Tips

Popularity: 0 points out of 10    

Description: How to move folders without having to resort to recursive copying/deleting

Total Hits: 712     Total Votes: 0     Total Points: 0 (0 reviews)    

Page Navigation:  [1]


Move and Rename Directories




Although this may seem trivial, you can move folders without having to resort to recursive copying/deleting. All you have to do is execute:
<?php
 
	rename("OLDFOLDERLOCATION", "NEWFOLDERLOCATION");
 
?>


Page Navigation:  [1]



© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.