Heh yea, I know... CGI.pm would replace that code nicely. But I don't have that luxury unfortunately... I am dealing with legacy code at work and even more legacy coders and their petty politics. Hopefully that routine has an error in it so I can pass the buck. ;)