Originariamente inviato da spoon25
Codice PHP:
$nomefile substr($nomefile,0,strrpos($nomefile'.')); 
Giusto.
Grazie a entrambi.