Salut,
Heu nan c' est pas super bon ça !
car si mon fichier s' appelle toto.titi.zip ça bug.
Donc faire plustôt :
$tmp = explode('.' $fichier);
$extention = $tmp[count($tmp)-1];
$nom_fichier = str_replace('.'.$extention, '', $fichier);
@+
Immortal-PC,
téléchargements,astuces ,entre-aide informatique , conseils pour vos problèmes d'ordi.
Grâce à Immortal-PC votre ordinateur passera les âges.