Re: Rename

From: Date: Thu, 24 Jan 2008 23:05:58 +0000
Subject: Re: Rename
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-268048@lists.php.net to get a copy of this message
You obviously missed my last sentence. "Once you get this working, you can put the rename() in the first foreach() loop. Don't forget to take care of exceptions. " Robert Cummings wrote:
On Thu, 2008-01-24 at 16:18 -0500, Al wrote:
First get an array of all the files, e.g.,
That's useful for debugging, but once you know what you're doing, it's a waste of resources to accumulate the array unless you have a good reason for doing so :) Cheers, Rob.


« previous php.general (#268048) next »