Hi Steffen, > +1 on reading. > Please change foreach ($parts as $k => $v) { to > foreach ($parts as $key => $value) { ;) OK, will do it on commit ;-) I used same code as method above but you're right. It's better start improving code. -- Xavier Perseguers http://xavier.perseguers.ch/en