On 28.10.2010 02:43, Paul F. Johnson wrote: > Hi, > > I'm stuck on this one as I think it's all more or less correct. Rather less than more. Your code is vulnerable to SQL injection and other nasty things (behind-firewall host discovery etc.). Fix this first. Robert