Great, now it works perfectly. Thanks a lot! (Could you have a look at my thread "Socket inbound or outbound with PHP?" please? I am in some trouble...) 2008/10/22 Anthony Minessale <anthony.minessale at gmail.com>: > yah oops, that was a minor mistake it's already fixed.