On Tue, Sep 8, 2009 at 5:39 PM, Floyd Resler<[email protected]> wrote:
> How can I rename a directory with files in it? The rename function gives me
> a "directory not empty" error. I know I could do it be creating the
> directory, moving the files, and then deleting the old one. Is there an
> easier way?
>
> Thanks!
> Floyd
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Is there something wrong with `system("mv $oldName $newName");` ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php