Ver Mensaje Individual
  #2 (permalink)  
Antiguo 20/09/2006, 17:12
Avatar de chalchis
chalchis
 
Fecha de Ingreso: julio-2003
Mensajes: 1.773
Antigüedad: 20 años, 9 meses
Puntos: 21
De acuerdo solucion

<?php
$dirname='name_of_directory'; // path and name of directory without trailing slash
$exceptions = array('.', '..');
$handle = opendir($dirname);
while (false !== ($item=readdir($handle))) {
if (!in_array($item,$exceptions)) {
rename($dirname.'/'.$item, $dirname.'/'.strtolower($item));
}
}
?>

fuente:
http://www.experts-exchange.com/Web/..._21939181.html

saludos amigos a mi ya me funciono
__________________
gerardo