Okay here's another one. After the loop I put in a line to print to the browser. Just an ole print "Made it here"; exit(0);. Nothing prints to the screen and the browser finishes loading, like before. I put in an open file and write to it and then after that I open the file at key points, write to it a specific string to say it had been there (concatenated), and then I close the file. When I go in and look at the file generated it shows me it reached the point of where I put the print and exit. What the heck would be causing this to happen? It looks as though the program does reach that point but no feedback is coming back from the web server. Not much good considering it's a CGI application. Any help would be greatly appreciated.