caspar kennerdale wrote:
- I'm a little confused. The files are already in there real location. It is
just that someone may want to change that location at a later date.
e.g. they upload an image to a folder and two months later decide it is
better placed in a different folder.

Or am I missing something really obvious.

The other solution I can see is to copy the file to the new location and
delete the original

Check out rename(). That might be what you want.


http://us3.php.net/rename

Also, if you are on *nix (I don't remember if there is an equivalent in MS windows), you could use the mv command via the exec function.

- Brad





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to