On 02/19/10 20:53 , Steffen Kamper wrote: > Hi, > > this can't be correct ??? > // remove extension > $filename = substr($filename, 0, strrpos($filename, '.')); -- Xavier Perseguers http://xavier.perseguers.ch/en