Hi there,

I am wondering if this is possible in php:

I have a whole bunch of files named after countrycodes. E.g. CA-map.gif

Now I would like to rename those files after the country. This is listed in
a dbtable containing the countrycode and countryname. E.g. CA - Canada

How could I generate a php script which scannes the dir for matching
Countrycode patterns and renames the filename ?
E.g.: Make out of CA-map.gif -> canada-map.gif?

Thanx for any hint,

andy





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

Reply via email to