Ok, thank you, I'll try to "translate" this code for my needings. Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it