I have a Perl script that outputs a graph created by GD to a webpage. You specifiy the info by selecting a column name in a database, then it generates the graph on the fly. It works great, except that after running the program 3-4 times it stops working and says that webdb.cgi printed nothing. When I run it from the command line, its okay and no syntax errors. But when it tries to run from the web, it doesn't work. None of the other methods work either, even if its not trying to draw the graph. Is this a problem with my web server (which is Personal Web Server) or my program?