Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/03/2012, 09:20
Avatar de Eleazan
Eleazan
 
Fecha de Ingreso: abril-2008
Ubicación: Ibiza
Mensajes: 1.879
Antigüedad: 18 años, 6 meses
Puntos: 326
Respuesta: Busco Funcion, para usarla en nombres de imagen

Código PHP:

$chars 
= array ( '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'A', 'b', 'B', 'c', 'C' );

$imageid = 10; 
$finalid = sprintf("%c", $chars[$imageid]); 
$idtoprint = substr(md5(time()), 0, 5)."_".$finalid; 
__________________
>> Eleazan's Source
>> @Eleazan